Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_DOL.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_DOL,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_DOL,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_DOL",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.007816/0.007816, allocations: 186.9 kB / 7.466 MB, free: 2.23 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.08043/0.08043, allocations: 8.706 MB / 16.57 MB, free: 380 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.303/2.303, allocations: 221.4 MB / 240.5 MB, free: 8.133 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.001637/0.001637, allocations: 92.78 kB / 293.5 MB, free: 5.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.264/0.2657, allocations: 58.66 MB / 352.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6301/0.8958, allocations: 52.54 MB / 404.7 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7589/1.655, allocations: 151 MB / 0.5427 GB, free: 38.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004251/1.655, allocations: 75.38 kB / 0.5428 GB, free: 38.63 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: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 2.512/4.167, allocations: 463.8 MB / 0.9957 GB, free: 3.629 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/4.167, allocations: 8 kB / 0.9957 GB, free: 3.621 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06027/4.228, allocations: 5.524 MB / 1.001 GB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05855/4.286, allocations: 11.76 MB / 1.013 GB, free: 2.375 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003191/4.29, allocations: 452 kB / 1.013 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01198/4.302, allocations: 0.8006 MB / 1.014 GB, free: 1.133 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 1.08/5.382, allocations: 17.85 MB / 1.031 GB, free: 63.87 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1011/5.483, allocations: 20.27 MB / 1.051 GB, free: 62.27 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001175/5.485, allocations: 20.86 kB / 1.051 GB, free: 62.27 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00932/5.494, allocations: 16.47 kB / 1.051 GB, free: 62.27 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001713/5.496, allocations: 1.008 MB / 1.052 GB, free: 62.23 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2711/5.767, allocations: 72.22 MB / 1.123 GB, free: 48.28 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/5.78, allocations: 4.588 MB / 1.127 GB, free: 46.44 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01813/5.798, allocations: 5.196 MB / 1.132 GB, free: 44.5 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.065/5.863, allocations: 13.64 MB / 1.145 GB, free: 38.35 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002857/5.864, allocations: 99.11 kB / 1.146 GB, free: 38.27 MB / 490.8 MB Notification: Performance of pre-optimization done (n=629): time 2.042e-05/5.864, allocations: 2.062 kB / 1.146 GB, free: 38.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=637): time 0.1034/5.967, allocations: 22.44 MB / 1.167 GB, free: 27.98 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/5.967, allocations: 142.7 kB / 1.168 GB, free: 27.88 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01773/5.985, allocations: 4.463 MB / 1.172 GB, free: 26.15 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002739/5.988, allocations: 29.33 kB / 1.172 GB, free: 26.12 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007975/5.996, allocations: 5.252 MB / 1.177 GB, free: 22.3 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004518/6, allocations: 2.067 MB / 1.179 GB, free: 20.68 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004068/6.004, allocations: 0 / 1.179 GB, free: 20.68 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.002027/6.007, allocations: 0.6471 MB / 1.18 GB, free: 20.22 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01581/6.022, allocations: 4.266 MB / 1.184 GB, free: 18.54 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02269/6.045, allocations: 7.062 MB / 1.191 GB, free: 13.29 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02272/6.068, allocations: 6.034 MB / 1.197 GB, free: 11.07 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004513/6.069, allocations: 25.91 kB / 1.197 GB, free: 11.07 MB / 490.8 MB Notification: Performance of matching and sorting (n=1087) (initialization): time 0.06075/6.129, allocations: 13.15 MB / 1.21 GB, free: 6.695 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/6.13, allocations: 8.75 kB / 1.21 GB, free: 6.691 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005387/6.13, allocations: 90.28 kB / 1.21 GB, free: 6.691 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009594/6.14, allocations: 1.511 MB / 1.211 GB, free: 6.324 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01589/6.156, allocations: 1.871 MB / 1.213 GB, free: 6.105 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6651/6.821, allocations: 16.62 MB / 1.229 GB, free: 55.55 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01242/6.833, allocations: 293 kB / 1.229 GB, free: 55.55 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00496/6.838, allocations: 398.3 kB / 1.23 GB, free: 55.55 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 417 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,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 (987): * Single equations (assignments): 977 * 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: 5 * 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: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(12,53.5%) 64} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006733/6.845, allocations: 372.8 kB / 1.23 GB, free: 55.45 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005204/6.851, allocations: 0.5903 MB / 1.231 GB, free: 55.45 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03833/6.889, allocations: 11.01 MB / 1.242 GB, free: 54.91 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02918/6.918, allocations: 7.143 MB / 1.249 GB, free: 54.69 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000223/6.919, allocations: 18.62 kB / 1.249 GB, free: 54.69 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000426/6.919, allocations: 38.73 kB / 1.249 GB, free: 54.69 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1084/7.027, allocations: 23.12 MB / 1.271 GB, free: 52.82 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001054/7.028, allocations: 11.41 kB / 1.271 GB, free: 52.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007575/7.035, allocations: 1.05 MB / 1.272 GB, free: 52.82 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00614/7.041, allocations: 1.535 MB / 1.274 GB, free: 52.76 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002032/7.044, allocations: 50.94 kB / 1.274 GB, free: 52.76 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0281/7.072, allocations: 19.67 MB / 1.293 GB, free: 44.09 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.63e-05/7.072, allocations: 11.69 kB / 1.293 GB, free: 44.09 MB / 490.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05208/7.124, allocations: 17.19 MB / 1.31 GB, free: 42.06 MB / 490.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07663/7.201, allocations: 23.57 MB / 1.333 GB, free: 37.82 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01055/7.211, allocations: 1.51 MB / 1.334 GB, free: 36.95 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007158/7.218, allocations: 23.64 kB / 1.334 GB, free: 36.95 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01299/7.232, allocations: 224.2 kB / 1.334 GB, free: 36.95 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003891/7.236, allocations: 369 kB / 1.335 GB, free: 36.89 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002946/7.239, allocations: 187.3 kB / 1.335 GB, free: 36.84 MB / 490.8 MB Notification: Performance of sort global known variables: time 0.0169/7.256, allocations: 3.281 MB / 1.338 GB, free: 35.57 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.03045/7.286, allocations: 2.243 MB / 1.34 GB, free: 35.5 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (566): * Single equations (assignments): 555 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(12,52.8%) 64,(1,100.0%) 5,(1,100.0%) 13,(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.003981/7.29, allocations: 0.4985 MB / 1.341 GB, free: 35.36 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.03623/7.326, allocations: 10.9 MB / 1.352 GB, free: 31.21 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.822e-05/7.327, allocations: 5.156 kB / 1.352 GB, free: 31.21 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01957/7.346, allocations: 5.834 MB / 1.357 GB, free: 28.72 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01458/7.361, allocations: 1.146 MB / 1.358 GB, free: 28.46 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1181/7.479, allocations: 22.29 MB / 1.38 GB, free: 11.67 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0476/7.527, allocations: 9.641 MB / 1.39 GB, free: 4.328 MB / 490.8 MB Notification: Performance of SimCode: time 2.625e-06/7.527, allocations: 0 / 1.39 GB, free: 4.328 MB / 490.8 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.InductionMachines.IMC_DOL/HanserModelica_HanserModelica_InductionMachines_IMC_DOL.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_DOL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=13 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_FMU.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_FMU.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_DOL_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_DOL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=13 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_DOL.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_DOL.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_DOL_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_DOL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=13 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_functions.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_functions.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_DOL_functions.c:1: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_DOL_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_DOL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=13 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_records.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_records.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_DOL_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_DOL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=13 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_01exo.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_01exo.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_DOL_01exo.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_DOL_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_DOL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=13 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_02nls.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_02nls.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_DOL_02nls.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_DOL_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_DOL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=13 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_03lsy.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_03lsy.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_DOL_03lsy.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_DOL_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_DOL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=13 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_04set.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_04set.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_DOL_04set.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_DOL_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_DOL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=13 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_05evt.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_05evt.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_DOL_05evt.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_DOL_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_DOL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=13 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_06inz.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_06inz.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_DOL_06inz.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_DOL_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_DOL_06inz.c:27:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp0 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_DOL_06inz.c:28:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp1 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_DOL_06inz.c:29:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp2 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_DOL_06inz.c:30:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp3 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_DOL_06inz.c:31:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp4 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_DOL_06inz.c:32:10: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp5 = $Pu$lB3$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_DOL_06inz.c:52:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp6 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_DOL_06inz.c:53:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp7 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_DOL_06inz.c:54:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp8 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_DOL_06inz.c:55:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp9 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_DOL_06inz.c:56:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp10 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_DOL_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_IMC_DOL_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.InductionMachines.IMC_DOL/HanserModelica_HanserModelica_InductionMachines_IMC_DOL.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_DOL.def HanserModelica_HanserModelica_InductionMachines_IMC_DOL.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL.a HanserModelica_HanserModelica_InductionMachines_IMC_DOL.so HanserModelica_HanserModelica_InductionMachines_IMC_DOL_FMU.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_functions.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_records.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_01exo.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_02nls.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_03lsy.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_04set.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_05evt.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_06inz.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_07dly.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_08bnd.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_09alg.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_10asr.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_11mix.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_12jac.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_13opt.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_14lnz.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_15syn.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_16dae.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_17inl.o HanserModelica_HanserModelica_InductionMachines_IMC_DOL_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