Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.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_Transformer,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Transformer,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Transformer",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.005458/0.005458, allocations: 182.8 kB / 7.461 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.06668/0.06668, 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.262/2.262, allocations: 221.4 MB / 240.5 MB, free: 8.148 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.001338/0.001338, allocations: 98.77 kB / 293.5 MB, free: 5.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2793/0.2806, allocations: 60.55 MB / 354.1 MB, free: 8.871 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4995/0.7802, allocations: 52.54 MB / 406.6 MB, free: 26.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.696/1.476, allocations: 163.6 MB / 0.5569 GB, free: 29.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/1.477, allocations: 71.88 kB / 0.557 GB, free: 29.52 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: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 6.785/8.262, allocations: 0.8702 GB / 1.427 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 9.004e-05/8.262, allocations: 7.219 kB / 1.427 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09062/8.352, allocations: 9.034 MB / 1.436 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07918/8.432, allocations: 16.29 MB / 1.452 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002759/8.435, allocations: 0.6519 MB / 1.453 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01785/8.452, allocations: 1.189 MB / 1.454 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1186/8.571, allocations: 27.8 MB / 1.481 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1774/8.749, allocations: 30.95 MB / 1.511 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003083/8.752, allocations: 29.78 kB / 1.511 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0151/8.767, allocations: 15.25 kB / 1.511 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003419/8.771, allocations: 1.541 MB / 1.513 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4581/9.229, allocations: 106.9 MB / 1.617 GB, free: 4.477 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 1.262/10.49, allocations: 8.636 MB / 1.625 GB, free: 92.7 MB / 0.5732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03044/10.52, allocations: 10.14 MB / 1.635 GB, free: 92.61 MB / 0.5732 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09903/10.62, allocations: 23.29 MB / 1.658 GB, free: 91.68 MB / 0.5732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002977/10.62, allocations: 148.3 kB / 1.658 GB, free: 91.64 MB / 0.5732 GB Notification: Performance of pre-optimization done (n=1061): time 2.723e-05/10.62, allocations: 0 / 1.658 GB, free: 91.64 MB / 0.5732 GB Notification: Performance of matching and sorting (n=1073): time 0.1897/10.81, allocations: 37.66 MB / 1.695 GB, free: 86.5 MB / 0.5732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002153/10.81, allocations: 184.5 kB / 1.695 GB, free: 86.39 MB / 0.5732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03852/10.85, allocations: 6.352 MB / 1.701 GB, free: 85.88 MB / 0.5732 GB Notification: Performance of collectPreVariables (initialization): time 0.00591/10.86, allocations: 25.7 kB / 1.701 GB, free: 85.85 MB / 0.5732 GB Notification: Performance of collectInitialEqns (initialization): time 0.009167/10.86, allocations: 7.399 MB / 1.709 GB, free: 81.38 MB / 0.5732 GB Notification: Performance of collectInitialBindings (initialization): time 0.01066/10.88, allocations: 3.447 MB / 1.712 GB, free: 79.09 MB / 0.5732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006565/10.88, allocations: 0 / 1.712 GB, free: 79.09 MB / 0.5732 GB Notification: Performance of setup shared object (initialization): time 0.003152/10.89, allocations: 0.8253 MB / 1.713 GB, free: 78.75 MB / 0.5732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02844/10.91, allocations: 7.106 MB / 1.72 GB, free: 78.72 MB / 0.5732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03785/10.95, allocations: 10.7 MB / 1.73 GB, free: 74.52 MB / 0.5732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03904/10.99, allocations: 9.716 MB / 1.74 GB, free: 74.38 MB / 0.5732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007807/10.99, allocations: 31.12 kB / 1.74 GB, free: 74.38 MB / 0.5732 GB Notification: Performance of matching and sorting (n=1637) (initialization): time 0.09688/11.09, allocations: 21.7 MB / 1.761 GB, free: 73.38 MB / 0.5732 GB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/11.09, allocations: 2.562 kB / 1.761 GB, free: 73.38 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006895/11.09, allocations: 115.8 kB / 1.761 GB, free: 73.38 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02099/11.11, allocations: 3.917 MB / 1.765 GB, free: 72.63 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02441/11.14, allocations: 2.639 MB / 1.767 GB, free: 72.55 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1092/11.24, allocations: 35.34 MB / 1.802 GB, free: 53.15 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02406/11.27, allocations: 385.4 kB / 1.802 GB, free: 53.13 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005665/11.27, allocations: 0.5529 MB / 1.803 GB, free: 53.03 MB / 0.5732 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1383): * Single equations (assignments): 1376 * 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 {(3,88.9%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(30,25.3%) 174} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009654/11.28, allocations: 444.5 kB / 1.803 GB, free: 52.82 MB / 0.5732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006744/11.29, allocations: 0.8807 MB / 1.804 GB, free: 52.36 MB / 0.5732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06657/11.36, allocations: 19.22 MB / 1.823 GB, free: 38.6 MB / 0.5732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002529/11.36, allocations: 107.8 kB / 1.823 GB, free: 38.5 MB / 0.5732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002141/11.36, allocations: 46.53 kB / 1.823 GB, free: 38.45 MB / 0.5732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004947/11.36, allocations: 52.45 kB / 1.823 GB, free: 38.45 MB / 0.5732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1673/11.53, allocations: 38.39 MB / 1.861 GB, free: 6.996 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003781/11.53, allocations: 4 kB / 1.861 GB, free: 6.992 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02192/11.55, allocations: 1.672 MB / 1.862 GB, free: 5.668 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01859/11.57, allocations: 3.913 MB / 1.866 GB, free: 2.578 MB / 0.5732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005074/11.57, allocations: 70.06 kB / 1.866 GB, free: 2.523 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8595/12.43, allocations: 37.28 MB / 1.903 GB, free: 73.13 MB / 0.5732 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.511e-05/12.43, allocations: 3.875 kB / 1.903 GB, free: 73.13 MB / 0.5732 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.103/12.54, allocations: 29.58 MB / 1.931 GB, free: 70.54 MB / 0.5732 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1266/12.66, allocations: 40.5 MB / 1.971 GB, free: 67.49 MB / 0.5732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01193/12.67, allocations: 2.443 MB / 1.973 GB, free: 67.39 MB / 0.5732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008836/12.68, allocations: 27.73 kB / 1.973 GB, free: 67.39 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01691/12.7, allocations: 356.7 kB / 1.974 GB, free: 67.39 MB / 0.5732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005381/12.71, allocations: 0.5894 MB / 1.974 GB, free: 67.39 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004844/12.71, allocations: 298.7 kB / 1.975 GB, free: 67.39 MB / 0.5732 GB Notification: Performance of sort global known variables: time 0.02242/12.73, allocations: 4.715 MB / 1.979 GB, free: 67.17 MB / 0.5732 GB Notification: Performance of remove unused functions: time 0.04143/12.77, allocations: 3.514 MB / 1.983 GB, free: 67.17 MB / 0.5732 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (870): * Single equations (assignments): 862 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,(30,25.2%) 174,(1,100.0%) 8,(3,88.9%) 25,(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.007375/12.78, allocations: 0.5907 MB / 1.983 GB, free: 67.06 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.06321/12.84, allocations: 18.28 MB / 2.001 GB, free: 66.09 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 2.979e-05/12.85, allocations: 4.906 kB / 2.001 GB, free: 66.09 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.02826/12.87, allocations: 10.11 MB / 2.011 GB, free: 62.5 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02446/12.9, allocations: 1.67 MB / 2.013 GB, free: 62.13 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.194/13.09, allocations: 34.62 MB / 2.046 GB, free: 44.07 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0582/13.15, allocations: 14.31 MB / 2.06 GB, free: 33.23 MB / 0.5732 GB Notification: Performance of SimCode: time 2.074e-06/13.15, allocations: 4 kB / 2.06 GB, free: 33.23 MB / 0.5732 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.InductionMachines.IMC_Transformer/HanserModelica_HanserModelica_InductionMachines_IMC_Transformer.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_Transformer -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_Transformer_FMU.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_FMU.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_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_Transformer -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_Transformer.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_Transformer.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_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_Transformer -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_Transformer_functions.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_functions.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_functions.c:1: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_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_Transformer -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_Transformer_records.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_records.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_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_Transformer -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_Transformer_01exo.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_01exo.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_01exo.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_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_Transformer -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_Transformer_02nls.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_02nls.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_02nls.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_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_Transformer -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_Transformer_03lsy.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_03lsy.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_03lsy.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_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_Transformer -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_Transformer_04set.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_04set.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_04set.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_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_Transformer -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_Transformer_05evt.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_05evt.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_05evt.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_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_Transformer -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_Transformer_06inz.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_06inz.c In file included from HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_06inz.c:2: In file included from ./HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_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_Transformer_06inz.c:27:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp0 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_06inz.c:28:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp1 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_06inz.c:29:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp2 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_06inz.c:30:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp3 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_06inz.c:31:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp4 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_06inz.c:32:10: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp5 = $Pu$lB3$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_06inz.c:52:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp6 = $Pu$lB1$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_06inz.c:53:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp7 = $Pu$lB1$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_06inz.c:54:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp8 = $Pu$lB2$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_06inz.c:55:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp9 = $Pu$lB2$rB$Pim; ^ HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_06inz.c:56:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp10 = $Pu$lB3$rB$Pre; ^ HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_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_Transformer_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/HanserModelica_HanserModelica.InductionMachines.IMC_Transformer/HanserModelica_HanserModelica_InductionMachines_IMC_Transformer.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_Transformer.def HanserModelica_HanserModelica_InductionMachines_IMC_Transformer.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer.a HanserModelica_HanserModelica_InductionMachines_IMC_Transformer.so HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_FMU.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_functions.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_records.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_01exo.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_02nls.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_03lsy.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_04set.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_05evt.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_06inz.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_07dly.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_08bnd.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_09alg.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_10asr.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_11mix.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_12jac.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_13opt.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_14lnz.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_15syn.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_16dae.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_17inl.o HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_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