Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Actions1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Modelica_StateGraph2 with version 2.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo) Running command: "" <> buildModelFMU(Modelica_StateGraph2.Examples.BasicStateGraphs.Actions1,fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1",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 loadModel(Modelica_StateGraph2): time 2.006/2.006, allocations: 208.4 MB / 215.7 MB, free: 16 kB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.141/2.147, allocations: 53.38 MB / 269.1 MB, free: 10.53 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/2.38, allocations: 47.79 MB / 316.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/2.532, allocations: 71.65 MB / 388.6 MB, free: 7.355 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/2.532, allocations: 47.98 kB / 388.6 MB, free: 7.309 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12150:5-12156:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.04364/2.576, allocations: 9.42 MB / 398 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/2.576, allocations: 8 kB / 398 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/2.576, allocations: 90.97 kB / 398.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/2.577, allocations: 486.3 kB / 398.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.197e-05/2.578, allocations: 28 kB / 398.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/2.578, allocations: 51.98 kB / 398.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00174/2.579, allocations: 0.5233 MB / 399.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/2.581, allocations: 0.806 MB / 400 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/2.581, allocations: 0 / 400 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.383e-05/2.582, allocations: 7.938 kB / 400 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.656e-05/2.582, allocations: 33.98 kB / 400 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005759/2.587, allocations: 3.461 MB / 403.5 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/2.589, allocations: 0.7292 MB / 404.2 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/2.589, allocations: 149.6 kB / 404.4 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/2.589, allocations: 90.91 kB / 404.5 MB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004767/2.59, allocations: 204.5 kB / 404.7 MB, free: 6.645 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 3.326e-06/2.59, allocations: 0 / 404.7 MB, free: 6.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.001102/2.591, allocations: 334.6 kB / 405 MB, free: 6.312 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/2.591, allocations: 196.4 kB / 405.2 MB, free: 6.078 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006837/2.592, allocations: 388 kB / 405.6 MB, free: 5.695 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-05/2.592, allocations: 37.7 kB / 405.6 MB, free: 5.652 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/2.592, allocations: 295.9 kB / 405.9 MB, free: 5.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/2.592, allocations: 114.8 kB / 406 MB, free: 5.242 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/2.592, allocations: 0 / 406 MB, free: 5.242 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/2.592, allocations: 366.7 kB / 406.4 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/2.593, allocations: 166 kB / 406.5 MB, free: 4.711 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007435/2.594, allocations: 473.1 kB / 407 MB, free: 4.109 MB / 346.7 MB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/2.595, allocations: 0.5876 MB / 407.6 MB, free: 3.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/2.595, allocations: 4 kB / 407.6 MB, free: 3.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001756/2.597, allocations: 0.6241 MB / 408.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/2.597, allocations: 4 kB / 408.2 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/2.597, allocations: 8 kB / 408.2 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-05/2.597, allocations: 16.75 kB / 408.2 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/2.598, allocations: 79.77 kB / 408.3 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/2.6, allocations: 1.968 MB / 410.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000728/2.601, allocations: 43.67 kB / 410.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.756e-05/2.601, allocations: 40 kB / 410.4 MB, free: 0.5742 MB / 346.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: $PRE.initialStep.newActive = true Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: multiSwitch1.firstActiveIndex:DISCRETE(fixed = false protected = true ) type: Integer Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: multiSwitch1.u[1]:DISCRETE(fixed = false ) "Set y = expr[i], if u[i] = true" type: Boolean [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 104 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,$PRE.T5.enableFire,$PRE.or1.u[1],$PRE.or1.u[2],$PRE.multiSwitch1.u[1],$PRE.multiSwitch1.u[2],$PRE.initialStep.oldActive,initialStep.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.step3.oldActive,step3.oldActive,$PRE.step4.oldActive,step4.oldActive,$PRE.step5.oldActive,step5.oldActive,initialStep.node.resume,initialStep.node.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.initialStep.newActive,initialStep.newActive,initialStep.inport_fire,initialStep.outport_fire,T1.fire,T1.enableFire,$PRE.T1.t_start,T1.t_start,$PRE.step2.newActive,step2.newActive,step2.inport_fire,step2.outport_fire,T2.fire,T2.enableFire,$PRE.T2.t_start,T2.t_start,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.enableFire,$PRE.T3.t_start,T3.t_start,$PRE.step4.newActive,step4.newActive,step4.inport_fire,step4.outport_fire,T4.fire,T4.enableFire,$PRE.T4.t_start,T4.t_start,T5.fire,T5.enableFire,$PRE.T5.t_start,T5.t_start,$PRE.step5.newActive,step5.newActive,step5.inport_fire,step5.outport_fire,or1.u[1],or1.u[2],or1.y,multiSwitch1.u[1],multiSwitch1.u[2],multiSwitch1.firstActiveIndex,$PRE.multiSwitch2.y,multiSwitch2.y,multiSwitch2.firstActiveIndex,$PRE.multiSwitch3.y,multiSwitch3.y,multiSwitch3.firstActiveIndex,multiSwitch2.expr[1],multiSwitch2.expr[2],multiSwitch3.expr[1],multiSwitch3.expr[2],T5.condition,T4.condition,T3.condition,T2.condition,T1.condition,T5.outPort.checkOneDelayedTransitionPerLoop,step5.outPort[1].checkOneDelayedTransitionPerLoop,step5.inPort[1].checkUnaryConnection,T4.outPort.checkOneDelayedTransitionPerLoop,step4.outPort[1].checkOneDelayedTransitionPerLoop,step4.inPort[1].checkUnaryConnection,T2.outPort.checkOneDelayedTransitionPerLoop,step3.outPort[1].checkOneDelayedTransitionPerLoop,initialStep.inPort[1].checkUnaryConnection,T3.outPort.checkOneDelayedTransitionPerLoop,initialStep.outPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkUnaryConnection,T1.outPort.checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,step2.inPort[1].checkUnaryConnection,showValue4.number,showValue3.active) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003604/2.601, allocations: 189.5 kB / 410.5 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/2.601, allocations: 47.44 kB / 410.6 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1335/2.735, allocations: 377.6 kB / 411 MB, free: 121.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/2.735, allocations: 3.344 kB / 411 MB, free: 121.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/2.735, allocations: 2.766 kB / 411 MB, free: 121.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/2.735, allocations: 0 / 411 MB, free: 121.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/2.738, allocations: 1.059 MB / 412 MB, free: 120.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/2.738, allocations: 0 / 412 MB, free: 120.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/2.738, allocations: 27.62 kB / 412 MB, free: 120.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/2.738, allocations: 0 / 412 MB, free: 120.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/2.738, allocations: 7.516 kB / 412.1 MB, free: 120.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/2.738, allocations: 0 / 412.1 MB, free: 120.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/2.739, allocations: 4.5 kB / 412.1 MB, free: 120.8 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001215/2.74, allocations: 424 kB / 412.5 MB, free: 120.7 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001267/2.741, allocations: 0.803 MB / 413.3 MB, free: 120.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/2.741, allocations: 144 kB / 413.4 MB, free: 120.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/2.742, allocations: 7.516 kB / 413.4 MB, free: 120.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/2.742, allocations: 34.17 kB / 413.5 MB, free: 120.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/2.742, allocations: 44.31 kB / 413.5 MB, free: 120.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.424e-05/2.742, allocations: 19.7 kB / 413.5 MB, free: 120.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0004236/2.743, allocations: 217 kB / 413.7 MB, free: 120 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00279/2.746, allocations: 99.98 kB / 413.8 MB, free: 120 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 50 (initialStep.inport_fire,initialStep.outport_fire,or1.u[2],multiSwitch1.u[1],T1.enableFire,step2.outport_fire,multiSwitch1.u[2],T2.enableFire,step3.outport_fire,T4.enableFire,step4.outport_fire,T5.enableFire,or1.u[1],T3.enableFire,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,initialStep.newActive,initialStep.oldActive,T1.fire,T1.t_start,step2.newActive,step2.oldActive,step2.inport_fire,T2.fire,T2.t_start,step3.newActive,step3.oldActive,step3.inport_fire,T3.fire,T3.t_start,step4.newActive,step4.oldActive,step4.inport_fire,T4.fire,T4.t_start,T5.fire,T5.t_start,step5.newActive,step5.oldActive,step5.inport_fire,step5.outport_fire,or1.y,multiSwitch1.firstActiveIndex,multiSwitch2.y,multiSwitch2.firstActiveIndex,multiSwitch3.y,multiSwitch3.firstActiveIndex) * Number of discrete states: 7 (step5.newActive,step4.newActive,step3.newActive,multiSwitch2.y,step2.newActive,multiSwitch3.y,initialStep.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003851/2.746, allocations: 136 kB / 414 MB, free: 119.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00181/2.748, allocations: 455.2 kB / 414.4 MB, free: 119.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/2.748, allocations: 3.719 kB / 414.4 MB, free: 119.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005089/2.749, allocations: 163.8 kB / 414.6 MB, free: 119.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/2.749, allocations: 49.27 kB / 414.6 MB, free: 119.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/2.752, allocations: 0.7029 MB / 415.3 MB, free: 119.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009058/2.753, allocations: 0.9797 MB / 416.3 MB, free: 119 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/2.753, allocations: 0 / 416.3 MB, free: 119 MB / 346.7 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Actions1/Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1.fmutmp/sources' clang -fPIC -O0 -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=Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_FMU.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_FMU.c In file included from Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_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 -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=Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1.c In file included from Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1.c:2: In file included from ./Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_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 -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=Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_functions.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_functions.c In file included from Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_functions.c:1: In file included from ./Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_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 -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=Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_records.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_records.c In file included from Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_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 -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=Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_01exo.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_01exo.c In file included from Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_01exo.c:2: In file included from ./Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_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 -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=Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.c In file included from Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.c:2: In file included from ./Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_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); ^ Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.c:36:108: error: no member named 'nominal' in 'struct INTEGER_ATTRIBUTE' sysData->nominal[i] = data->modelData->integerVarsData[0].attribute /* multiSwitch1._firstActiveIndex */.nominal; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.c:80:97: error: no member named 'nominal' in 'struct BOOLEAN_ATTRIBUTE' sysData->nominal[i] = data->modelData->booleanVarsData[33].attribute /* multiSwitch1._u[1] */.nominal; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.c:81:97: error: no member named 'min' in 'struct BOOLEAN_ATTRIBUTE' sysData->min[i] = data->modelData->booleanVarsData[33].attribute /* multiSwitch1._u[1] */.min; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.c:82:97: error: no member named 'max' in 'struct BOOLEAN_ATTRIBUTE' sysData->max[i++] = data->modelData->booleanVarsData[33].attribute /* multiSwitch1._u[1] */.max; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 2 warnings and 4 errors generated. : recipe for target 'Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.o' failed make: *** [Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.o] Error 1 make: Leaving directory '/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Actions1/Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1.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... /bin/grep checking for egrep... /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 Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1.def Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1.a Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1.so Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_FMU.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_functions.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_records.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_01exo.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_03lsy.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_04set.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_05evt.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_06inz.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_07dly.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_08bnd.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_09alg.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_10asr.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_11mix.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_12jac.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_13opt.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_14lnz.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_15syn.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_16dae.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_17inl.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_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/nonlinearSystem.o include/./simulation/solver/nonlinearValuesList.o include/./simulation/solver/nonlinearSolverHybrd.o include/./simulation/solver/nonlinearSolverHomotopy.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/enorm_.o include/./external_solvers/hybrj_.o include/./external_solvers/dpmpar_.o include/./external_solvers/qrfac_.o include/./external_solvers/qform_.o include/./external_solvers/dogleg_.o include/./external_solvers/r1updt_.o include/./external_solvers/r1mpyq_.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