Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",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.001557/0.001557, allocations: 188.4 kB / 8.137 MB, free: 2.188 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.434/1.434, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.001574/0.001574, allocations: 109 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09555/0.09716, allocations: 55.84 MB / 336.6 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.2851, allocations: 50.39 MB / 387 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.277/0.5622, allocations: 132.6 MB / 0.5074 GB, free: 83.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5625, allocations: 100.5 kB / 0.5075 GB, free: 83.6 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 1.027/1.59, allocations: 355.8 MB / 0.855 GB, free: 30.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/1.59, allocations: 10.34 kB / 0.855 GB, free: 30.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02577/1.615, allocations: 4.051 MB / 0.859 GB, free: 30.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01906/1.634, allocations: 8.404 MB / 0.8672 GB, free: 29.03 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004568/1.635, allocations: 304.2 kB / 0.8675 GB, free: 29.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003091/1.638, allocations: 0.5315 MB / 0.868 GB, free: 29.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02388/1.662, allocations: 12.73 MB / 0.8804 GB, free: 28.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0338/1.696, allocations: 14.5 MB / 0.8946 GB, free: 27.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005067/1.696, allocations: 15.61 kB / 0.8946 GB, free: 27.89 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002894/1.699, allocations: 7.219 kB / 0.8946 GB, free: 27.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007146/1.7, allocations: 0.7769 MB / 0.8954 GB, free: 27.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08075/1.781, allocations: 52.13 MB / 0.9463 GB, free: 5.961 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00623/1.787, allocations: 3.427 MB / 0.9496 GB, free: 4.582 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008391/1.795, allocations: 3.459 MB / 0.953 GB, free: 3.199 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007103/1.796, allocations: 191.6 kB / 0.9532 GB, free: 3.094 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.189e-05/1.796, allocations: 80.7 kB / 0.9533 GB, free: 3.023 MB / 442.7 MB Notification: Performance of pre-optimization done (n=452): time 1.599e-05/1.796, allocations: 0 / 0.9533 GB, free: 3.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=457): time 0.06759/1.864, allocations: 15.76 MB / 0.9686 GB, free: 8.434 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/1.864, allocations: 105.9 kB / 0.9687 GB, free: 8.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/1.875, allocations: 3.671 MB / 0.9723 GB, free: 5.113 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009294/1.876, allocations: 25.7 kB / 0.9724 GB, free: 5.082 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003834/1.88, allocations: 3.689 MB / 0.976 GB, free: 1.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0027/1.883, allocations: 1.483 MB / 0.9774 GB, free: 488 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009151/1.884, allocations: 4 kB / 0.9774 GB, free: 484 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008142/1.885, allocations: 0.5595 MB / 0.978 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009332/1.894, allocations: 3.279 MB / 0.9812 GB, free: 13.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/1.905, allocations: 5.362 MB / 0.9864 GB, free: 7.195 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/1.92, allocations: 4.679 MB / 0.991 GB, free: 3.297 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.56e-05/1.92, allocations: 24 kB / 0.991 GB, free: 3.273 MB / 474.7 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.3449/2.265, allocations: 10 MB / 1.001 GB, free: 87 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/2.265, allocations: 6.438 kB / 1.001 GB, free: 87 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.74e-05/2.265, allocations: 67.47 kB / 1.001 GB, free: 87 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003779/2.269, allocations: 1.376 MB / 1.002 GB, free: 86.97 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00587/2.275, allocations: 1.383 MB / 1.004 GB, free: 86.97 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/2.289, allocations: 10.32 MB / 1.014 GB, free: 84.39 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005031/2.294, allocations: 239.9 kB / 1.014 GB, free: 84.39 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006193/2.295, allocations: 302 kB / 1.014 GB, free: 84.39 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 311 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (724): * Single equations (assignments): 718 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009289/2.296, allocations: 296 kB / 1.014 GB, free: 84.29 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006374/2.297, allocations: 434.9 kB / 1.015 GB, free: 84.29 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/2.312, allocations: 9.119 MB / 1.024 GB, free: 84.02 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0106/2.322, allocations: 6.632 MB / 1.03 GB, free: 83.88 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/2.322, allocations: 13.41 kB / 1.03 GB, free: 83.88 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.789e-05/2.322, allocations: 21.94 kB / 1.03 GB, free: 83.88 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02604/2.348, allocations: 16.67 MB / 1.047 GB, free: 82.75 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/2.349, allocations: 7.062 kB / 1.047 GB, free: 82.75 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003959/2.353, allocations: 0.8033 MB / 1.047 GB, free: 82.75 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003449/2.356, allocations: 1.244 MB / 1.049 GB, free: 82.72 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003411/2.356, allocations: 35.02 kB / 1.049 GB, free: 82.72 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/2.369, allocations: 9.549 MB / 1.058 GB, free: 80.1 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/2.369, allocations: 14.03 kB / 1.058 GB, free: 80.09 MB / 474.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01739/2.386, allocations: 12.79 MB / 1.07 GB, free: 78.46 MB / 474.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03172/2.418, allocations: 26.63 MB / 1.096 GB, free: 71.77 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002768/2.421, allocations: 1.173 MB / 1.098 GB, free: 71.1 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008991/2.421, allocations: 8.781 kB / 1.098 GB, free: 71.1 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002862/2.424, allocations: 167.6 kB / 1.098 GB, free: 71.1 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005509/2.425, allocations: 260 kB / 1.098 GB, free: 71.06 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000365/2.425, allocations: 133.2 kB / 1.098 GB, free: 71.03 MB / 474.8 MB Notification: Performance of sort global known variables: time 0.003962/2.429, allocations: 2.748 MB / 1.101 GB, free: 70 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006553/2.436, allocations: 1.615 MB / 1.102 GB, free: 69.93 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (417): * Single equations (assignments): 411 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/2.437, allocations: 0.6155 MB / 1.103 GB, free: 69.81 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01117/2.448, allocations: 8.094 MB / 1.111 GB, free: 66.88 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/2.448, allocations: 1.844 kB / 1.111 GB, free: 66.88 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005665/2.454, allocations: 3.908 MB / 1.115 GB, free: 65.32 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/2.458, allocations: 0.7194 MB / 1.115 GB, free: 64.78 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/2.486, allocations: 16.2 MB / 1.131 GB, free: 50.39 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007961/2.494, allocations: 7.062 MB / 1.138 GB, free: 44.93 MB / 474.8 MB Notification: Performance of SimCode: time 8.01e-07/2.494, allocations: 0 / 1.138 GB, free: 44.93 MB / 474.8 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses/Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.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_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_FMU.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_FMU.c In file included from Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_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_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.c In file included from Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.c:2: In file included from ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_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_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_functions.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_functions.c In file included from Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_functions.c:1: In file included from ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_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_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_records.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_records.c In file included from Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_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_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_01exo.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_01exo.c In file included from Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_01exo.c:2: In file included from ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_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_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_02nls.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_02nls.c In file included from Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_02nls.c:2: In file included from ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_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_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_03lsy.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_03lsy.c In file included from Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_03lsy.c:2: In file included from ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_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_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_04set.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_04set.c In file included from Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_04set.c:2: In file included from ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_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_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_05evt.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_05evt.c In file included from Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_05evt.c:2: In file included from ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_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_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.c In file included from Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.c:2: In file included from ./Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_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_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.c:183:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp0 = $Pu$lB1$rB$Pre; ^ Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.c:184:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp1 = $Pu$lB1$rB$Pim; ^ Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.c:185:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp2 = $Pu$lB2$rB$Pre; ^ Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.c:186:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp3 = $Pu$lB2$rB$Pim; ^ Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.c:187:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp4 = $Pu$lB3$rB$Pre; ^ Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.c:188:10: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp5 = $Pu$lB3$rB$Pim; ^ Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.c:569:11: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp15 = $Pu$lB1$rB$Pre; ^ Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.c:570:11: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp16 = $Pu$lB1$rB$Pim; ^ Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.c:571:11: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp17 = $Pu$lB2$rB$Pre; ^ Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.c:572:11: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp18 = $Pu$lB2$rB$Pim; ^ Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.c:573:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp19 = $Pu$lB3$rB$Pre; ^ Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.c:574:11: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp20 = $Pu$lB3$rB$Pim; ^ 2 warnings and 12 errors generated. make: *** [: Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses/Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.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_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.def Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.a Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.so Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_FMU.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_functions.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_records.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_01exo.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_02nls.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_03lsy.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_04set.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_05evt.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_06inz.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_07dly.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_08bnd.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_09alg.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_10asr.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_11mix.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_12jac.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_13opt.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_14lnz.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_15syn.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_16dae.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_17inl.o Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_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