Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.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/HanserModelica 2.0.0-master/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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(HanserModelica.InductionMachines.IMC_withLosses,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_withLosses,fileNamePrefix="HanserModelica_HanserModelica_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.004518/0.004518, allocations: 179.4 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.07143/0.07143, allocations: 8.704 MB / 16.58 MB, free: 444 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.224/2.224, allocations: 221.4 MB / 240.5 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 102.5 kB / 293.5 MB, free: 7.422 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2232/0.2245, allocations: 58.68 MB / 352.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.6977, allocations: 52.53 MB / 404.7 MB, free: 26.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6836/1.381, allocations: 131.3 MB / 0.5234 GB, free: 48.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/1.382, allocations: 77.38 kB / 0.5235 GB, free: 48.23 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 2.31/3.692, allocations: 358.4 MB / 0.8735 GB, free: 31.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.757e-05/3.692, allocations: 11.19 kB / 0.8735 GB, free: 31.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05221/3.745, allocations: 4.054 MB / 0.8775 GB, free: 31 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05145/3.796, allocations: 8.422 MB / 0.8857 GB, free: 30.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001931/3.798, allocations: 302.8 kB / 0.886 GB, free: 30.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01029/3.808, allocations: 0.5325 MB / 0.8865 GB, free: 30.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.074/3.883, allocations: 12.73 MB / 0.8989 GB, free: 29.97 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09471/3.977, allocations: 14.5 MB / 0.9131 GB, free: 28.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001091/3.979, allocations: 15.25 kB / 0.9131 GB, free: 28.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008631/3.987, allocations: 3.656 kB / 0.9131 GB, free: 28.88 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002648/3.99, allocations: 0.7778 MB / 0.9139 GB, free: 28.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2077/4.198, allocations: 52.14 MB / 0.9648 GB, free: 7.703 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/4.213, allocations: 3.42 MB / 0.9681 GB, free: 6.332 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01254/4.225, allocations: 3.455 MB / 0.9715 GB, free: 4.957 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/4.227, allocations: 191.5 kB / 0.9717 GB, free: 4.852 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/4.227, allocations: 81.73 kB / 0.9718 GB, free: 4.777 MB / 458.7 MB Notification: Performance of pre-optimization done (n=452): time 1.098e-05/4.227, allocations: 0 / 0.9718 GB, free: 4.777 MB / 458.7 MB Notification: Performance of matching and sorting (n=457): time 0.08547/4.312, allocations: 15.61 MB / 0.987 GB, free: 11.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/4.313, allocations: 102.2 kB / 0.9871 GB, free: 11.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01812/4.331, allocations: 3.671 MB / 0.9907 GB, free: 8.043 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002403/4.333, allocations: 25.7 kB / 0.9907 GB, free: 8.012 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.009757/4.343, allocations: 3.696 MB / 0.9943 GB, free: 4.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007425/4.351, allocations: 1.495 MB / 0.9958 GB, free: 3.395 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002816/4.353, allocations: 0 / 0.9958 GB, free: 3.395 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001428/4.355, allocations: 0.5533 MB / 0.9963 GB, free: 2.906 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01371/4.369, allocations: 3.28 MB / 0.9995 GB, free: 0 / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01738/4.386, allocations: 5.365 MB / 1.005 GB, free: 10.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02277/4.409, allocations: 4.689 MB / 1.009 GB, free: 6.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002479/4.409, allocations: 20 kB / 1.009 GB, free: 6.211 MB / 490.7 MB Notification: Performance of matching and sorting (n=801) (initialization): time 1.066/5.476, allocations: 10.46 MB / 1.02 GB, free: 84.1 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/5.476, allocations: 6.312 kB / 1.02 GB, free: 84.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002909/5.476, allocations: 68.44 kB / 1.02 GB, free: 84.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006869/5.483, allocations: 1.39 MB / 1.021 GB, free: 84.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0121/5.495, allocations: 1.385 MB / 1.022 GB, free: 84.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03082/5.526, allocations: 10.31 MB / 1.032 GB, free: 81.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01306/5.539, allocations: 235.8 kB / 1.033 GB, free: 81.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003686/5.543, allocations: 297.2 kB / 1.033 GB, free: 81.5 MB / 490.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.003989/5.547, allocations: 298.2 kB / 1.033 GB, free: 81.39 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002086/5.549, allocations: 439.9 kB / 1.034 GB, free: 81.39 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02487/5.574, allocations: 9.114 MB / 1.043 GB, free: 81.12 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02146/5.596, allocations: 6.639 MB / 1.049 GB, free: 80.98 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001397/5.596, allocations: 13.78 kB / 1.049 GB, free: 80.98 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002595/5.596, allocations: 22.92 kB / 1.049 GB, free: 80.98 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09139/5.688, allocations: 16.68 MB / 1.065 GB, free: 79.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001351/5.688, allocations: 7.438 kB / 1.065 GB, free: 79.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007288/5.695, allocations: 0.8025 MB / 1.066 GB, free: 79.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005031/5.7, allocations: 1.246 MB / 1.067 GB, free: 79.82 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002133/5.702, allocations: 41.27 kB / 1.067 GB, free: 79.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01942/5.722, allocations: 9.547 MB / 1.077 GB, free: 77.27 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.718e-05/5.722, allocations: 16 kB / 1.077 GB, free: 77.27 MB / 490.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02957/5.751, allocations: 12.8 MB / 1.089 GB, free: 75.77 MB / 490.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07985/5.831, allocations: 26.64 MB / 1.115 GB, free: 71.93 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008079/5.84, allocations: 1.167 MB / 1.116 GB, free: 71.26 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003768/5.843, allocations: 14.42 kB / 1.116 GB, free: 71.26 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006949/5.85, allocations: 167.7 kB / 1.117 GB, free: 71.26 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002026/5.853, allocations: 256.6 kB / 1.117 GB, free: 71.21 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001747/5.854, allocations: 138.7 kB / 1.117 GB, free: 71.18 MB / 490.8 MB Notification: Performance of sort global known variables: time 0.008883/5.863, allocations: 2.75 MB / 1.12 GB, free: 70.15 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01609/5.879, allocations: 1.609 MB / 1.121 GB, free: 70.08 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (imc.inertiaRotor.w,imc.rotorCage.port_p.reference.gamma,loadInertia.phi,PI.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.003401/5.883, allocations: 0.5804 MB / 1.122 GB, free: 69.97 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02995/5.913, allocations: 8.082 MB / 1.13 GB, free: 67.04 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.136e-05/5.913, allocations: 1.844 kB / 1.13 GB, free: 67.04 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01474/5.928, allocations: 3.917 MB / 1.133 GB, free: 65.53 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009528/5.937, allocations: 0.7224 MB / 1.134 GB, free: 65.35 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07744/6.015, allocations: 16.19 MB / 1.15 GB, free: 58.14 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02579/6.041, allocations: 7.061 MB / 1.157 GB, free: 52.68 MB / 490.8 MB Notification: Performance of SimCode: time 3.266e-06/6.041, allocations: 0 / 1.157 GB, free: 52.68 MB / 490.8 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.InductionMachines.IMC_withLosses/HanserModelica_HanserModelica_InductionMachines_IMC_withLosses.fmutmp/sources' clang -fPIC -O0 -falign-functions -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=HanserModelica_HanserModelica_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 HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_FMU.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_FMU.c In file included from HanserModelica_HanserModelica_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 -O0 -falign-functions -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=HanserModelica_HanserModelica_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 HanserModelica_HanserModelica_InductionMachines_IMC_withLosses.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_withLosses.c:2: In file included from ./HanserModelica_HanserModelica_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 -O0 -falign-functions -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=HanserModelica_HanserModelica_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 HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_functions.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_functions.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_functions.c:1: In file included from ./HanserModelica_HanserModelica_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 -O0 -falign-functions -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=HanserModelica_HanserModelica_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 HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_records.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_records.c In file included from HanserModelica_HanserModelica_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 -O0 -falign-functions -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=HanserModelica_HanserModelica_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 HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_01exo.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_01exo.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_01exo.c:2: In file included from ./HanserModelica_HanserModelica_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 -O0 -falign-functions -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=HanserModelica_HanserModelica_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 HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_02nls.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_02nls.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_02nls.c:2: In file included from ./HanserModelica_HanserModelica_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 -O0 -falign-functions -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=HanserModelica_HanserModelica_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 HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_03lsy.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_03lsy.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_03lsy.c:2: In file included from ./HanserModelica_HanserModelica_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 -O0 -falign-functions -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=HanserModelica_HanserModelica_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 HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_04set.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_04set.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_04set.c:2: In file included from ./HanserModelica_HanserModelica_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 -O0 -falign-functions -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=HanserModelica_HanserModelica_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 HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_05evt.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_05evt.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_05evt.c:2: In file included from ./HanserModelica_HanserModelica_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 -O0 -falign-functions -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=HanserModelica_HanserModelica_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 HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.c:2: In file included from ./HanserModelica_HanserModelica_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); ^ HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.c:183:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp0 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.c:184:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp1 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.c:185:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp2 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.c:186:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp3 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.c:187:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp4 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.c:188:10: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp5 = $Pu$lB3$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.c:569:11: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp15 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.c:570:11: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp16 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.c:571:11: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp17 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.c:572:11: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp18 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.c:573:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp19 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_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: *** [: HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.InductionMachines.IMC_withLosses/HanserModelica_HanserModelica_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 HanserModelica_HanserModelica_InductionMachines_IMC_withLosses.def HanserModelica_HanserModelica_InductionMachines_IMC_withLosses.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses.a HanserModelica_HanserModelica_InductionMachines_IMC_withLosses.so HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_FMU.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_functions.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_records.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_01exo.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_02nls.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_03lsy.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_04set.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_05evt.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_06inz.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_07dly.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_08bnd.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_09alg.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_10asr.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_11mix.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_12jac.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_13opt.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_14lnz.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_15syn.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_16dae.o HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_17inl.o HanserModelica_HanserModelica_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