Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 182.3 kB / 8.131 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.126/1.126, allocations: 221.4 MB / 229.9 MB, free: 3.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009377/0.0009377, allocations: 100.8 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09664/0.09761, allocations: 55.82 MB / 336.6 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.294, allocations: 50.4 MB / 387 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09638/0.3905, allocations: 95.31 MB / 482.3 MB, free: 7.445 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.3908, allocations: 79.95 kB / 482.4 MB, free: 7.367 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.8305/1.221, allocations: 305.2 MB / 0.7692 GB, free: 32.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/1.221, allocations: 12 kB / 0.7692 GB, free: 32.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/1.235, allocations: 2.441 MB / 0.7716 GB, free: 30.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/1.246, allocations: 5.553 MB / 0.777 GB, free: 24.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004877/1.247, allocations: 284 kB / 0.7772 GB, free: 24.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00242/1.249, allocations: 0.4921 MB / 0.7777 GB, free: 24.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0178/1.267, allocations: 9.963 MB / 0.7875 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02555/1.293, allocations: 12.29 MB / 0.7995 GB, free: 1.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000312/1.293, allocations: 11.84 kB / 0.7995 GB, free: 1.469 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001779/1.295, allocations: 8 kB / 0.7995 GB, free: 1.461 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005453/1.295, allocations: 0.6315 MB / 0.8001 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3113/1.607, allocations: 42.33 MB / 0.8414 GB, free: 83.93 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003854/1.61, allocations: 3.055 MB / 0.8444 GB, free: 83.89 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002114/1.613, allocations: 1.796 MB / 0.8462 GB, free: 83.87 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/1.613, allocations: 130.4 kB / 0.8463 GB, free: 83.77 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/1.613, allocations: 67.75 kB / 0.8464 GB, free: 83.73 MB / 442.8 MB Notification: Performance of pre-optimization done (n=230): time 4.107e-06/1.613, allocations: 0 / 0.8464 GB, free: 83.73 MB / 442.8 MB Notification: Performance of matching and sorting (n=230): time 0.005367/1.618, allocations: 3.376 MB / 0.8497 GB, free: 83.5 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/1.618, allocations: 76.59 kB / 0.8497 GB, free: 83.43 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/1.622, allocations: 2.548 MB / 0.8522 GB, free: 83.18 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002811/1.623, allocations: 25.7 kB / 0.8522 GB, free: 83.14 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001663/1.624, allocations: 3.613 MB / 0.8558 GB, free: 81.36 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007165/1.625, allocations: 0.7788 MB / 0.8565 GB, free: 80.88 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/1.626, allocations: 2.812 kB / 0.8565 GB, free: 80.88 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002902/1.626, allocations: 0.4962 MB / 0.857 GB, free: 80.56 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002509/1.628, allocations: 2.082 MB / 0.8591 GB, free: 80.55 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003415/1.632, allocations: 4.246 MB / 0.8632 GB, free: 77.81 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004649/1.636, allocations: 3.264 MB / 0.8664 GB, free: 77.68 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.563e-05/1.637, allocations: 21.16 kB / 0.8664 GB, free: 77.68 MB / 442.8 MB Notification: Performance of matching and sorting (n=603) (initialization): time 0.01071/1.647, allocations: 6.423 MB / 0.8727 GB, free: 77.36 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.647, allocations: 8.516 kB / 0.8727 GB, free: 77.36 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001689/1.647, allocations: 74.25 kB / 0.8728 GB, free: 77.36 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000917/1.648, allocations: 422.2 kB / 0.8732 GB, free: 77.34 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003704/1.652, allocations: 1.065 MB / 0.8742 GB, free: 77.34 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/1.656, allocations: 3.831 MB / 0.8779 GB, free: 75.99 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003598/1.66, allocations: 0.5253 MB / 0.8785 GB, free: 75.69 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006677/1.661, allocations: 251.2 kB / 0.8787 GB, free: 75.69 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (574): * Single equations (assignments): 569 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008516/1.661, allocations: 295.3 kB / 0.879 GB, free: 75.54 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000522/1.662, allocations: 267.7 kB / 0.8792 GB, free: 75.39 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006445/1.668, allocations: 3.83 MB / 0.883 GB, free: 75.22 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004386/1.673, allocations: 3.068 MB / 0.886 GB, free: 75.12 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/1.673, allocations: 3.531 kB / 0.886 GB, free: 75.12 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/1.673, allocations: 14.17 kB / 0.886 GB, free: 75.12 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/1.69, allocations: 9.032 MB / 0.8948 GB, free: 74.34 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/1.69, allocations: 3.5 kB / 0.8948 GB, free: 74.34 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/1.692, allocations: 404.2 kB / 0.8952 GB, free: 74.33 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006731/1.692, allocations: 316.1 kB / 0.8955 GB, free: 74.32 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001813/1.693, allocations: 24.73 kB / 0.8955 GB, free: 74.32 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004372/1.697, allocations: 3.654 MB / 0.8991 GB, free: 72.97 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/1.697, allocations: 5.469 kB / 0.8991 GB, free: 72.97 MB / 442.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008952/1.706, allocations: 5.737 MB / 0.9047 GB, free: 72.46 MB / 442.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01045/1.717, allocations: 8.293 MB / 0.9128 GB, free: 69.88 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/1.718, allocations: 0.6483 MB / 0.9134 GB, free: 69.48 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007372/1.719, allocations: 11.16 kB / 0.9134 GB, free: 69.48 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/1.721, allocations: 84.97 kB / 0.9135 GB, free: 69.48 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/1.721, allocations: 118.9 kB / 0.9136 GB, free: 69.46 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/1.721, allocations: 65.42 kB / 0.9137 GB, free: 69.45 MB / 442.8 MB Notification: Performance of sort global known variables: time 0.003194/1.724, allocations: 1.848 MB / 0.9155 GB, free: 68.73 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.006648/1.731, allocations: 1.882 MB / 0.9173 GB, free: 68.15 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentQuasiRMSSensor.currentSensor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005365/1.731, allocations: 197 kB / 0.9175 GB, free: 68.05 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006649/1.738, allocations: 4.718 MB / 0.9221 GB, free: 66.52 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.738, allocations: 2.344 kB / 0.9221 GB, free: 66.52 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002558/1.741, allocations: 1.797 MB / 0.9239 GB, free: 65.85 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/1.744, allocations: 0.5417 MB / 0.9244 GB, free: 65.72 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02441/1.768, allocations: 11.11 MB / 0.9353 GB, free: 55.9 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008804/1.777, allocations: 6.042 MB / 0.9412 GB, free: 51.21 MB / 442.8 MB Notification: Performance of SimCode: time 1.433e-06/1.777, allocations: 8 kB / 0.9412 GB, free: 51.2 MB / 442.8 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors/Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmutmp/sources' clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_FMU.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_FMU.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.c:2: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_functions.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_functions.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_functions.c:1: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_records.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_records.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_01exo.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_01exo.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_01exo.c:2: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_02nls.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_02nls.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_02nls.c:2: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_03lsy.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_03lsy.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_03lsy.c:2: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_04set.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_04set.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_04set.c:2: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_05evt.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_05evt.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_05evt.c:2: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.c:2: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.c:27:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp0 = $Pu$lB1$rB$Pre; ^ Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.c:28:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp1 = $Pu$lB1$rB$Pim; ^ Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.c:29:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp2 = $Pu$lB2$rB$Pre; ^ Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.c:30:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp3 = $Pu$lB2$rB$Pim; ^ Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.c:31:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp4 = $Pu$lB3$rB$Pre; ^ Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.c:32:10: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp5 = $Pu$lB3$rB$Pim; ^ Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.c:65:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp6 = $Pu$lB1$rB$Pre; ^ Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.c:66:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp7 = $Pu$lB1$rB$Pim; ^ Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.c:67:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp8 = $Pu$lB2$rB$Pre; ^ Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.c:68:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp9 = $Pu$lB2$rB$Pim; ^ Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.c:69:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp10 = $Pu$lB3$rB$Pre; ^ Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.c:70:11: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp11 = $Pu$lB3$rB$Pim; ^ 2 warnings and 12 errors generated. make: *** [: Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors/Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.def Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.a Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.so Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_FMU.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_functions.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_records.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_01exo.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_02nls.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_03lsy.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_04set.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_05evt.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_06inz.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_07dly.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_08bnd.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_09alg.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_10asr.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_11mix.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_12jac.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_13opt.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_14lnz.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_15syn.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_16dae.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_17inl.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/linearSystem.o include/./simulation/solver/linearSolverLapack.o include/./simulation/solver/linearSolverTotalPivot.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o include/./external_solvers/dgesv.o include/./external_solvers/dgetrf.o include/./external_solvers/dlamch.o include/./external_solvers/ilaenv.o include/./external_solvers/xerbla.o include/./external_solvers/dgetf2.o include/./external_solvers/dgetrs.o include/./external_solvers/dlaswp.o include/./external_solvers/ieeeck.o include/./external_solvers/iparmq.o include/./external_solvers/dgemm.o include/./external_solvers/dger.o include/./external_solvers/dscal.o include/./external_solvers/dswap.o include/./external_solvers/dtrsm.o include/./external_solvers/idamax.o include/./external_solvers/lsame.o include/./external_solvers/i_nint.o include/./external_solvers/pow_di.o include/./external_solvers/s_cmp.o include/./external_solvers/s_copy.o