Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_YD.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) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_YD,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_YD,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_YD",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.001859/0.001859, allocations: 178.8 kB / 7.456 MB, free: 1.535 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.07501/0.07501, allocations: 8.697 MB / 16.57 MB, free: 1.773 MB / 12.04 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.27/2.27, allocations: 221.4 MB / 240.5 MB, free: 10.43 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001604, allocations: 95.89 kB / 293.5 MB, free: 11.12 MB / 242.8 MB Notification: Performance of FrontEnd - loaded program: time 0.5439/0.5455, allocations: 60.55 MB / 354 MB, free: 54.36 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.725, allocations: 52.56 MB / 406.6 MB, free: 15.59 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.694/1.419, allocations: 150.7 MB / 0.5443 GB, free: 9.434 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/1.419, allocations: 73.34 kB / 0.5443 GB, free: 9.402 MB / 370.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4252 * Number of variables: 4252 Notification: Performance of Generate backend data structure: time 3.403/4.823, allocations: 0.4971 GB / 1.041 GB, free: 29.62 MB / 498.8 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001027/4.823, allocations: 9.812 kB / 1.041 GB, free: 29.62 MB / 498.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09113/4.914, allocations: 6.909 MB / 1.048 GB, free: 28.71 MB / 498.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07333/4.987, allocations: 12.56 MB / 1.06 GB, free: 27.27 MB / 498.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002923/4.99, allocations: 0.4926 MB / 1.061 GB, free: 27.27 MB / 498.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0164/5.007, allocations: 0.8722 MB / 1.062 GB, free: 27.25 MB / 498.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.09205/5.099, allocations: 20.83 MB / 1.082 GB, free: 27.19 MB / 498.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1378/5.237, allocations: 22.76 MB / 1.104 GB, free: 25.41 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.002191/5.239, allocations: 28.83 kB / 1.104 GB, free: 25.41 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01476/5.254, allocations: 14.88 kB / 1.104 GB, free: 25.4 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00286/5.257, allocations: 1.139 MB / 1.106 GB, free: 25.36 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.325/6.582, allocations: 80.2 MB / 1.184 GB, free: 62.64 MB / 0.5028 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0162/6.599, allocations: 6.245 MB / 1.19 GB, free: 62.6 MB / 0.5028 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02101/6.62, allocations: 7.69 MB / 1.197 GB, free: 62.54 MB / 0.5028 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06945/6.689, allocations: 18.23 MB / 1.215 GB, free: 61.73 MB / 0.5028 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01941/6.709, allocations: 6.251 MB / 1.221 GB, free: 61.44 MB / 0.5028 GB Notification: Performance of pre-optimization done (n=859): time 4.051e-05/6.709, allocations: 0 / 1.221 GB, free: 61.44 MB / 0.5028 GB Notification: Performance of matching and sorting (n=867): time 0.1271/6.836, allocations: 29.4 MB / 1.25 GB, free: 57.46 MB / 0.5028 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003482/6.837, allocations: 485.9 kB / 1.251 GB, free: 56.98 MB / 0.5028 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01944/6.856, allocations: 4.968 MB / 1.255 GB, free: 56.62 MB / 0.5028 GB Notification: Performance of collectPreVariables (initialization): time 0.003797/6.86, allocations: 31.86 kB / 1.255 GB, free: 56.59 MB / 0.5028 GB Notification: Performance of collectInitialEqns (initialization): time 0.01618/6.876, allocations: 5.486 MB / 1.261 GB, free: 53.34 MB / 0.5028 GB Notification: Performance of collectInitialBindings (initialization): time 0.00804/6.884, allocations: 2.763 MB / 1.264 GB, free: 51.53 MB / 0.5028 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003871/6.888, allocations: 0 / 1.264 GB, free: 51.53 MB / 0.5028 GB Notification: Performance of setup shared object (initialization): time 0.002108/6.891, allocations: 0.7154 MB / 1.264 GB, free: 51.2 MB / 0.5028 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01937/6.91, allocations: 5.542 MB / 1.27 GB, free: 51.18 MB / 0.5028 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02613/6.936, allocations: 8.421 MB / 1.278 GB, free: 47.92 MB / 0.5028 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0255/6.962, allocations: 7.471 MB / 1.285 GB, free: 47.81 MB / 0.5028 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004169/6.962, allocations: 28.22 kB / 1.285 GB, free: 47.81 MB / 0.5028 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.08673/7.049, allocations: 16.9 MB / 1.302 GB, free: 45.13 MB / 0.5028 GB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/7.049, allocations: 7.406 kB / 1.302 GB, free: 45.13 MB / 0.5028 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009335/7.05, allocations: 88.38 kB / 1.302 GB, free: 45.13 MB / 0.5028 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01876/7.069, allocations: 2.894 MB / 1.305 GB, free: 44.36 MB / 0.5028 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02043/7.089, allocations: 2.035 MB / 1.307 GB, free: 44.29 MB / 0.5028 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07/7.16, allocations: 28.7 MB / 1.335 GB, free: 27.77 MB / 0.5028 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02134/7.181, allocations: 418.5 kB / 1.335 GB, free: 27.75 MB / 0.5028 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006125/7.187, allocations: 440.8 kB / 1.335 GB, free: 27.67 MB / 0.5028 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 390 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,switchYDQS.idealCloser.control[1],switchYDQS.idealCloser.control[2],switchYDQS.idealCloser.control[3],switchYDQS.idealOpener.control[1],switchYDQS.idealOpener.control[2],switchYDQS.idealOpener.control[3],$PRE.switchYDQS.logicalDelay[1].tSwitch,switchYDQS.logicalDelay[1].tSwitch,$PRE.switchYDQS.logicalDelay[2].tSwitch,switchYDQS.logicalDelay[2].tSwitch,$PRE.switchYDQS.logicalDelay[3].tSwitch,switchYDQS.logicalDelay[3].tSwitch,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1108): * Single equations (assignments): 1101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * 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: 6 {(1,100.0%) 1,(24,32.5%) 108,(1,100.0%) 8,(9,33.3%) 25,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01294/7.2, allocations: 404.6 kB / 1.336 GB, free: 27.48 MB / 0.5028 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007244/7.208, allocations: 0.6994 MB / 1.336 GB, free: 27.11 MB / 0.5028 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07797/7.286, allocations: 15.25 MB / 1.351 GB, free: 17.54 MB / 0.5028 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004191/7.286, allocations: 86.16 kB / 1.351 GB, free: 17.46 MB / 0.5028 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003603/7.287, allocations: 32.53 kB / 1.351 GB, free: 17.43 MB / 0.5028 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007333/7.288, allocations: 45 kB / 1.352 GB, free: 17.43 MB / 0.5028 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7669/8.054, allocations: 30.28 MB / 1.381 GB, free: 60.41 MB / 0.5028 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000166/8.055, allocations: 11.25 kB / 1.381 GB, free: 60.41 MB / 0.5028 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01392/8.069, allocations: 1.28 MB / 1.382 GB, free: 60.41 MB / 0.5028 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01511/8.084, allocations: 2.923 MB / 1.385 GB, free: 60.34 MB / 0.5028 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004201/8.088, allocations: 62.52 kB / 1.385 GB, free: 60.34 MB / 0.5028 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0697/8.158, allocations: 31.21 MB / 1.416 GB, free: 50.35 MB / 0.5028 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.78e-05/8.158, allocations: 14.27 kB / 1.416 GB, free: 50.35 MB / 0.5028 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07028/8.228, allocations: 23.55 MB / 1.439 GB, free: 48.18 MB / 0.5028 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1221/8.351, allocations: 32.28 MB / 1.47 GB, free: 45.59 MB / 0.5028 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01449/8.365, allocations: 1.989 MB / 1.472 GB, free: 45.14 MB / 0.5028 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007863/8.373, allocations: 20.17 kB / 1.472 GB, free: 45.14 MB / 0.5028 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0171/8.39, allocations: 321.5 kB / 1.473 GB, free: 45.14 MB / 0.5028 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005548/8.396, allocations: 0.5297 MB / 1.473 GB, free: 45.13 MB / 0.5028 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003244/8.399, allocations: 239.2 kB / 1.473 GB, free: 45.13 MB / 0.5028 GB Notification: Performance of sort global known variables: time 0.01826/8.418, allocations: 3.679 MB / 1.477 GB, free: 44.95 MB / 0.5028 GB Notification: Performance of remove unused functions: time 0.03829/8.456, allocations: 2.692 MB / 1.48 GB, free: 44.95 MB / 0.5028 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 42 (booleanStepYDQS[3].y,booleanStepYDQS[2].y,booleanStepYDQS[1].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,switchYDQS.idealCloser.control[1],switchYDQS.idealCloser.control[2],switchYDQS.idealCloser.control[3],switchYDQS.idealOpener.control[1],switchYDQS.idealOpener.control[2],switchYDQS.idealOpener.control[3],switchYDQS.logicalDelay[1].tSwitch,switchYDQS.logicalDelay[2].tSwitch,switchYDQS.logicalDelay[3].tSwitch,booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (718): * Single equations (assignments): 704 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(24,32.3%) 108,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 25,(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.006347/8.463, allocations: 0.5122 MB / 1.48 GB, free: 44.84 MB / 0.5028 GB Notification: Performance of simCode: created initialization part: time 0.05437/8.517, allocations: 14.41 MB / 1.494 GB, free: 41.53 MB / 0.5028 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-05/8.517, allocations: 0 / 1.494 GB, free: 41.53 MB / 0.5028 GB Notification: Performance of simCode: created simulation system equations: time 0.03849/8.556, allocations: 8.656 MB / 1.503 GB, free: 38.02 MB / 0.5028 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02273/8.579, allocations: 1.329 MB / 1.504 GB, free: 37.73 MB / 0.5028 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1619/8.741, allocations: 26.11 MB / 1.529 GB, free: 27.91 MB / 0.5028 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05968/8.8, allocations: 10.73 MB / 1.54 GB, free: 20.25 MB / 0.5028 GB Notification: Performance of SimCode: time 1.783e-06/8.801, allocations: 0 / 1.54 GB, free: 20.25 MB / 0.5028 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.InductionMachines.IMC_YD/HanserModelica_HanserModelica_InductionMachines_IMC_YD.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_YD -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_YD_FMU.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_FMU.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_YD_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_YD -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_YD.o HanserModelica_HanserModelica_InductionMachines_IMC_YD.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_YD.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_YD_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_YD -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_YD_functions.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_functions.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_YD_functions.c:1: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_YD_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_YD -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_YD_records.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_records.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_YD_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_YD -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_YD_01exo.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_01exo.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_YD_01exo.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_YD_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_YD -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_YD_02nls.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_02nls.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_YD_02nls.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_YD_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_YD -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_YD_03lsy.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_03lsy.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_YD_03lsy.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_YD_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_YD -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_YD_04set.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_04set.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_YD_04set.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_YD_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_YD -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_YD_05evt.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_05evt.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_YD_05evt.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_YD_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_YD -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica_InductionMachines_IMC_YD_06inz.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_06inz.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_YD_06inz.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_YD_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_YD_06inz.c:27:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp0 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_YD_06inz.c:28:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp1 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_YD_06inz.c:29:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp2 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_YD_06inz.c:30:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp3 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_YD_06inz.c:31:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp4 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_YD_06inz.c:32:10: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp5 = $Pu$lB3$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_YD_06inz.c:52:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp6 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_YD_06inz.c:53:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp7 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_YD_06inz.c:54:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp8 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_YD_06inz.c:55:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp9 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_YD_06inz.c:56:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp10 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_YD_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_YD_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.InductionMachines.IMC_YD/HanserModelica_HanserModelica_InductionMachines_IMC_YD.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_YD.def HanserModelica_HanserModelica_InductionMachines_IMC_YD.o HanserModelica_HanserModelica_InductionMachines_IMC_YD.a HanserModelica_HanserModelica_InductionMachines_IMC_YD.so HanserModelica_HanserModelica_InductionMachines_IMC_YD_FMU.o HanserModelica_HanserModelica_InductionMachines_IMC_YD.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_functions.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_records.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_01exo.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_02nls.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_03lsy.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_04set.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_05evt.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_06inz.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_07dly.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_08bnd.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_09alg.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_10asr.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_11mix.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_12jac.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_13opt.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_14lnz.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_15syn.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_16dae.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_17inl.o HanserModelica_HanserModelica_InductionMachines_IMC_YD_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