Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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.IMS_Start,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Start,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Start",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.01041/0.01041, allocations: 179.8 kB / 7.458 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.05912/0.05912, allocations: 8.705 MB / 16.58 MB, free: 448 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.11/2.11, allocations: 221.4 MB / 240.5 MB, free: 8.168 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.001756/0.001755, allocations: 107.5 kB / 293.5 MB, free: 7.441 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2165/0.2183, allocations: 58.66 MB / 352.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.6593, allocations: 52.54 MB / 404.7 MB, free: 26.9 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6986/1.358, allocations: 159.2 MB / 0.5507 GB, free: 34.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004633/1.359, allocations: 74.09 kB / 0.5508 GB, free: 34.83 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: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 3.582/4.94, allocations: 0.5813 GB / 1.132 GB, free: 33.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.439e-05/4.94, allocations: 11.22 kB / 1.132 GB, free: 33.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08052/5.021, allocations: 7.347 MB / 1.139 GB, free: 32.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07762/5.099, allocations: 14.88 MB / 1.154 GB, free: 31.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00187/5.101, allocations: 0.5706 MB / 1.154 GB, free: 31.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01267/5.113, allocations: 1.018 MB / 1.155 GB, free: 31.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.09576/5.209, allocations: 23.2 MB / 1.178 GB, free: 25.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1575/5.367, allocations: 26.44 MB / 1.204 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001689/5.368, allocations: 23.14 kB / 1.204 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01109/5.38, allocations: 15.91 kB / 1.204 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002578/5.382, allocations: 1.319 MB / 1.205 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.228/6.611, allocations: 93.87 MB / 1.297 GB, free: 65.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01513/6.626, allocations: 6.228 MB / 1.303 GB, free: 65.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01569/6.642, allocations: 7.357 MB / 1.31 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05851/6.7, allocations: 18.18 MB / 1.328 GB, free: 64.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/6.701, allocations: 124.1 kB / 1.328 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=830): time 2.585e-05/6.701, allocations: 6.469 kB / 1.328 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=838): time 0.1236/6.824, allocations: 32.22 MB / 1.359 GB, free: 49.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/6.824, allocations: 191.6 kB / 1.36 GB, free: 49.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02456/6.849, allocations: 5.422 MB / 1.365 GB, free: 47.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.003312/6.852, allocations: 27.8 kB / 1.365 GB, free: 47.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.009958/6.862, allocations: 6.586 MB / 1.371 GB, free: 42.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.007164/6.87, allocations: 2.703 MB / 1.374 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004089/6.874, allocations: 1.156 kB / 1.374 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00208/6.876, allocations: 0.7356 MB / 1.375 GB, free: 40.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01962/6.896, allocations: 5.608 MB / 1.38 GB, free: 37.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02499/6.921, allocations: 8.893 MB / 1.389 GB, free: 31.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02681/6.948, allocations: 7.75 MB / 1.396 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003911/6.948, allocations: 29.03 kB / 1.397 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1358) (initialization): time 0.06669/7.015, allocations: 17.22 MB / 1.413 GB, free: 17.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/7.015, allocations: 4 kB / 1.413 GB, free: 17.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004022/7.015, allocations: 104 kB / 1.413 GB, free: 17.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/7.026, allocations: 2.423 MB / 1.416 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01352/7.039, allocations: 2.283 MB / 1.418 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023/8.062, allocations: 26.53 MB / 1.444 GB, free: 61.82 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0206/8.083, allocations: 362.4 kB / 1.444 GB, free: 61.82 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005417/8.088, allocations: 484.9 kB / 1.445 GB, free: 61.82 MB / 0.5107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1209): * Single equations (assignments): 1196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(18,38.9%) 100} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008508/8.097, allocations: 415.9 kB / 1.445 GB, free: 61.71 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00569/8.103, allocations: 0.7582 MB / 1.446 GB, free: 61.71 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05944/8.162, allocations: 15.17 MB / 1.461 GB, free: 60.93 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04355/8.206, allocations: 9.799 MB / 1.47 GB, free: 60.71 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002552/8.206, allocations: 29.84 kB / 1.47 GB, free: 60.71 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005203/8.207, allocations: 46.69 kB / 1.47 GB, free: 60.71 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1409/8.348, allocations: 30.16 MB / 1.5 GB, free: 58.51 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002108/8.348, allocations: 8.312 kB / 1.5 GB, free: 58.51 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01494/8.363, allocations: 1.325 MB / 1.501 GB, free: 58.51 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01249/8.376, allocations: 2.481 MB / 1.504 GB, free: 58.42 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003989/8.38, allocations: 54.89 kB / 1.504 GB, free: 58.42 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06771/8.447, allocations: 30.84 MB / 1.534 GB, free: 44.94 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.161e-05/8.448, allocations: 6.766 kB / 1.534 GB, free: 44.94 MB / 0.5107 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07687/8.524, allocations: 22.73 MB / 1.556 GB, free: 42.77 MB / 0.5107 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1512/8.676, allocations: 47.3 MB / 1.602 GB, free: 19.16 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01361/8.69, allocations: 1.945 MB / 1.604 GB, free: 17.41 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00844/8.698, allocations: 12 kB / 1.604 GB, free: 17.4 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01675/8.715, allocations: 303.3 kB / 1.604 GB, free: 17.21 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005169/8.72, allocations: 471.6 kB / 1.605 GB, free: 16.93 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003887/8.724, allocations: 228.4 kB / 1.605 GB, free: 16.72 MB / 0.5107 GB Notification: Performance of sort global known variables: time 0.01916/8.743, allocations: 4.008 MB / 1.609 GB, free: 13.23 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.03795/8.781, allocations: 2.884 MB / 1.612 GB, free: 10.36 MB / 0.5107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 11 (imsQS.rotor.resistor.plug_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.stator.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,ims.rotor.zeroInductor.i0,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (710): * Single equations (assignments): 695 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 1,(18,41.0%) 100,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005891/8.787, allocations: 0.5718 MB / 1.612 GB, free: 9.996 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.7262/9.514, allocations: 14.82 MB / 1.627 GB, free: 69.57 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 2.649e-05/9.514, allocations: 5.906 kB / 1.627 GB, free: 69.57 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.02848/9.542, allocations: 7.949 MB / 1.634 GB, free: 68.37 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01773/9.56, allocations: 1.496 MB / 1.636 GB, free: 68.34 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1808/9.741, allocations: 28.73 MB / 1.664 GB, free: 63.53 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06284/9.804, allocations: 12.31 MB / 1.676 GB, free: 62.36 MB / 0.5107 GB Notification: Performance of SimCode: time 4.298e-06/9.804, allocations: 0 / 1.676 GB, free: 62.36 MB / 0.5107 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.InductionMachines.IMS_Start/HanserModelica_HanserModelica_InductionMachines_IMS_Start.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_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=20 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Start_FMU.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_FMU.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Start_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_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=20 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Start.o HanserModelica_HanserModelica_InductionMachines_IMS_Start.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Start.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Start_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_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=20 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Start_functions.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_functions.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Start_functions.c:1: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Start_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_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=20 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Start_records.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_records.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Start_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_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=20 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Start_01exo.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_01exo.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Start_01exo.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Start_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_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=20 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Start_02nls.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_02nls.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Start_02nls.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Start_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_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=20 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Start_03lsy.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_03lsy.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Start_03lsy.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Start_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_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=20 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Start_04set.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_04set.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Start_04set.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Start_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_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=20 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Start_05evt.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_05evt.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Start_05evt.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Start_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_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=20 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.c In file included from HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMS_Start_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_IMS_Start_06inz.c:27:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp0 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.c:28:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp1 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.c:29:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp2 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.c:30:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp3 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.c:31:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp4 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.c:32:10: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp5 = $Pu$lB3$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.c:52:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp6 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.c:53:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp7 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.c:54:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp8 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.c:55:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp9 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.c:56:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp10 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.c:57:11: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp11 = $Pu$lB3$rB$Pim; ^ 2 warnings and 12 errors generated. make: *** [: HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.InductionMachines.IMS_Start/HanserModelica_HanserModelica_InductionMachines_IMS_Start.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_IMS_Start.def HanserModelica_HanserModelica_InductionMachines_IMS_Start.o HanserModelica_HanserModelica_InductionMachines_IMS_Start.a HanserModelica_HanserModelica_InductionMachines_IMS_Start.so HanserModelica_HanserModelica_InductionMachines_IMS_Start_FMU.o HanserModelica_HanserModelica_InductionMachines_IMS_Start.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_functions.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_records.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_01exo.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_02nls.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_03lsy.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_04set.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_05evt.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_06inz.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_07dly.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_08bnd.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_09alg.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_10asr.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_11mix.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_12jac.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_13opt.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_14lnz.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_15syn.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_16dae.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_17inl.o HanserModelica_HanserModelica_InductionMachines_IMS_Start_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