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 Modelica_StateGraph2 with version 2.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01096/0.01097, allocations: 107.8 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001192/0.001192, allocations: 182.5 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.138/2.138, allocations: 194.5 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo): time 0.1104/0.1104, allocations: 13.51 MB / 270 MB, free: 0.8086 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007331/0.0007333, allocations: 12.2 kB / 327.5 MB, free: 29.7 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1197, allocations: 47.79 MB / 375.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.Actions1): time 0.00374/0.1235, allocations: 2.019 MB / 377.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003552/0.1271, allocations: 1.111 MB / 378.4 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004554/0.1276, allocations: 23.81 kB / 378.4 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.128, allocations: 67.39 kB / 378.5 MB, free: 10.58 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.1284, allocations: 67.64 kB / 378.6 MB, free: 10.52 MB / 282.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12145:5-12145:45:writable] Warning: The second argument 'initialStep.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12150:5-12156:3:writable] Warning: The first argument 'initialStep.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12173:5-12173:46:writable] Warning: The first argument 'initialStep.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12145:5-12145:45:writable] Warning: The second argument 'step2.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12150:5-12156:3:writable] Warning: The first argument 'step2.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12173:5-12173:46:writable] Warning: The first argument 'step2.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12145:5-12145:45:writable] Warning: The second argument 'step3.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12150:5-12156:3:writable] Warning: The first argument 'step3.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12173:5-12173:46:writable] Warning: The first argument 'step3.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12145:5-12145:45:writable] Warning: The second argument 'step4.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12150:5-12156:3:writable] Warning: The first argument 'step4.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12173:5-12173:46:writable] Warning: The first argument 'step4.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12145:5-12145:45:writable] Warning: The second argument 'step5.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12150:5-12156:3:writable] Warning: The first argument 'step5.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12173:5-12173:46:writable] Warning: The first argument 'step5.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.1305, allocations: 339.5 kB / 378.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.1321, allocations: 0.5111 MB / 379.4 MB, free: 9.672 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003459/0.1356, allocations: 1.18 MB / 380.6 MB, free: 8.441 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005449/0.1362, allocations: 231 kB / 380.8 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004333/0.1367, allocations: 234.6 kB / 381.1 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1368, allocations: 24 kB / 381.1 MB, free: 7.961 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.1371, allocations: 47.86 kB / 381.1 MB, free: 7.914 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003012/0.1374, allocations: 139.5 kB / 381.3 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.1376, allocations: 137.3 kB / 381.4 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.1387, allocations: 0.5145 MB / 381.9 MB, free: 7.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1388, allocations: 0 / 381.9 MB, free: 7.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1388, allocations: 0 / 381.9 MB, free: 7.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.1388, allocations: 0 / 381.9 MB, free: 7.121 MB / 282.7 MB 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.002276/0.1411, allocations: 0.8514 MB / 382.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/0.1412, allocations: 15.98 kB / 382.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000302/0.1415, allocations: 126.9 kB / 382.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.1418, allocations: 90.92 kB / 383 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.1432, allocations: 469.6 kB / 383.5 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.1433, allocations: 62 kB / 383.5 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.1436, allocations: 83.98 kB / 383.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/0.1468, allocations: 0.8886 MB / 384.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-05/0.1469, allocations: 7.953 kB / 384.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.1471, allocations: 43.92 kB / 384.5 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.866e-05/0.1472, allocations: 33.98 kB / 384.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.1498, allocations: 0.6049 MB / 385.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007825/0.1577, allocations: 3.632 MB / 388.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.1594, allocations: 0.7743 MB / 389.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.1596, allocations: 89.48 kB / 389.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008121/0.1604, allocations: 233.1 kB / 389.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 4.95e-06/0.1604, allocations: 0 / 389.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001942/0.1624, allocations: 0.5101 MB / 390.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001695/0.1626, allocations: 192.4 kB / 390.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009831/0.1636, allocations: 448.8 kB / 391 MB, free: 13.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.1638, allocations: 49.7 kB / 391.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004714/0.1643, allocations: 333.3 kB / 391.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.1737, allocations: 122.5 kB / 391.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.1738, allocations: 20 kB / 391.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002505/0.1741, allocations: 366.8 kB / 391.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007128/0.1748, allocations: 189.9 kB / 392.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.1759, allocations: 0.4943 MB / 392.6 MB, free: 11.65 MB / 298.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.008201/0.1841, allocations: 0.6115 MB / 393.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/0.1842, allocations: 7.938 kB / 393.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002339/0.1865, allocations: 0.7169 MB / 393.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.1866, allocations: 8 kB / 393.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.1866, allocations: 8 kB / 393.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-05/0.1867, allocations: 16 kB / 393.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.1872, allocations: 80.36 kB / 394 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005007/0.1922, allocations: 3.467 MB / 397.5 MB, free: 6.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009032/0.1932, allocations: 99.41 kB / 397.6 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.1933, allocations: 32 kB / 397.6 MB, free: 6.367 MB / 298.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $PRE.initialStep.newActive = true. 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,T5.condition,T4.condition,T3.condition,T2.condition,T1.condition,$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],initialStep.node.suspend,initialStep.node.resume,showValue4.number,showValue3.active,T5.outPort.checkOneDelayedTransitionPerLoop,step5.outPort[1].checkOneDelayedTransitionPerLoop,step5.inPort[1].checkUnaryConnection,T4.outPort.checkOneDelayedTransitionPerLoop,step4.outPort[1].checkOneDelayedTransitionPerLoop,step4.inPort[1].checkUnaryConnection,T3.outPort.checkOneDelayedTransitionPerLoop,initialStep.outPort[1].checkOneDelayedTransitionPerLoop,T2.outPort.checkOneDelayedTransitionPerLoop,step3.outPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkUnaryConnection,T1.outPort.checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,step2.inPort[1].checkUnaryConnection,initialStep.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Number of clocked 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.0007348/0.1941, allocations: 313.9 kB / 397.9 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.1942, allocations: 47.44 kB / 398 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.1956, allocations: 437.5 kB / 398.4 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.1957, allocations: 8 kB / 398.4 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.1957, allocations: 4.062 kB / 398.4 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.1957, allocations: 0 / 398.4 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003513/0.1992, allocations: 1.231 MB / 399.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.1993, allocations: 3.953 kB / 399.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.1995, allocations: 23.92 kB / 399.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/0.1995, allocations: 4 kB / 399.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.1996, allocations: 8 kB / 399.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.1996, allocations: 0 / 399.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1996, allocations: 0 / 399.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/0.2108, allocations: 483.5 kB / 400.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.2112, allocations: 160.4 kB / 400.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.2114, allocations: 8 kB / 400.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005881/0.212, allocations: 31.97 kB / 400.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.2123, allocations: 44.36 kB / 400.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002396/0.2147, allocations: 19.98 kB / 400.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005602/0.2153, allocations: 235.2 kB / 400.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.2153, allocations: 0 / 400.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001494/0.2168, allocations: 175.3 kB / 400.8 MB, free: 3.047 MB / 298.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],T1.enableFire,multiSwitch1.u[1],step2.outport_fire,T2.enableFire,multiSwitch1.u[2],step3.outport_fire,T4.enableFire,step4.outport_fire,T5.enableFire,T3.enableFire,or1.u[1],$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) * Number of clocked states: 0 () * 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.001998/0.2188, allocations: 1.056 MB / 401.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.2208, allocations: 0.4917 MB / 402.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.2208, allocations: 0 / 402.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005971/0.2214, allocations: 170.4 kB / 402.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.2221, allocations: 61.47 kB / 402.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0236/0.2457, allocations: 8.799 MB / 411.4 MB, free: 8.227 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007503/0.2465, allocations: 0.9343 MB / 412.3 MB, free: 7.266 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005045/0.2471, allocations: 96.81 kB / 412.4 MB, free: 7.172 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004918/0.2476, allocations: 235.3 kB / 412.6 MB, free: 6.941 MB / 314.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2476, allocations: 0 / 412.6 MB, free: 6.941 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.371/0.6186, allocations: 10.19 MB / 422.8 MB, free: 48.55 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/0.6189, allocations: 223.5 kB / 423 MB, free: 48.31 MB / 314.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:7: In file included from ./Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:2: In file included from ./Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.c:47:96: 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:48:96: 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:49:96: error: no member named 'max' in 'struct BOOLEAN_ATTRIBUTE' sysData->max[i++] = data->modelData->booleanVarsData[33].attribute /* multiSwitch1.u[1] */.max; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.c:98:107: error: no member named 'nominal' in 'struct INTEGER_ATTRIBUTE' sysData->nominal[i] = data->modelData->integerVarsData[0].attribute /* multiSwitch1.firstActiveIndex */.nominal; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 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