Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.PCtoTDfunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.HybTest.PCtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTDfunction") translateModel(PNlib.Examples.HybTest.PCtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 106.7 kB / 16.27 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 191.4 kB / 17.2 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07302/0.07302, allocations: 16.73 MB / 307.8 MB, free: 14.32 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 70.33 kB / 372.3 MB, free: 48.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1105, allocations: 53.47 MB / 425.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTDfunction): time 0.00281/0.1134, allocations: 1.959 MB / 427.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.1157, allocations: 1.567 MB / 429.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/0.116, allocations: 11.94 kB / 429.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.1163, allocations: 119 kB / 429.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.1167, allocations: 123 kB / 429.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.1178, allocations: 0.6472 MB / 430.2 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008526/0.1186, allocations: 1.334 MB / 431.5 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.1188, allocations: 160.6 kB / 431.6 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.1192, allocations: 0.5024 MB / 432.2 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.1195, allocations: 342.3 kB / 432.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.1196, allocations: 87.94 kB / 432.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004908/0.1201, allocations: 435.5 kB / 433 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.1203, allocations: 171.3 kB / 433.2 MB, free: 5.074 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002696/0.1206, allocations: 370.3 kB / 433.5 MB, free: 4.711 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000824/0.1214, allocations: 1.088 MB / 434.6 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1214, allocations: 0 / 434.6 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1214, allocations: 0 / 434.6 MB, free: 3.621 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.1214, allocations: 0 / 434.6 MB, free: 3.621 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001317/0.1227, allocations: 1.31 MB / 435.9 MB, free: 2.195 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1228, allocations: 11.89 kB / 435.9 MB, free: 2.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005824/0.1234, allocations: 144 kB / 436.1 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.1238, allocations: 426.6 kB / 436.5 MB, free: 1.586 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.124, allocations: 146.4 kB / 436.6 MB, free: 1.422 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.1241, allocations: 79.98 kB / 436.7 MB, free: 1.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.1256, allocations: 1.271 MB / 438 MB, free: 20 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.1257, allocations: 0 / 438 MB, free: 20 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.1258, allocations: 47.95 kB / 438 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.96e-05/0.1259, allocations: 57.22 kB / 438.1 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.1275, allocations: 0.8872 MB / 439 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003655/0.1311, allocations: 3.043 MB / 442 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.1328, allocations: 1.263 MB / 443.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.134, allocations: 1.05 MB / 444.3 MB, free: 9.484 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002144/0.1362, allocations: 2.884 MB / 447.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/0.1373, allocations: 0.776 MB / 448 MB, free: 5.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.144e-06/0.1373, allocations: 4 kB / 448 MB, free: 5.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.003482/0.1408, allocations: 2.256 MB / 450.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003389/0.1412, allocations: 0.5944 MB / 450.8 MB, free: 2.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.1416, allocations: 413 kB / 451.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.197e-05/0.1417, allocations: 61.69 kB / 451.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.142, allocations: 276.3 kB / 451.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.1421, allocations: 201.7 kB / 451.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.1424, allocations: 222.5 kB / 452 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1426, allocations: 370.8 kB / 452.4 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/0.1433, allocations: 426 kB / 452.8 MB, free: 156 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009613/0.1443, allocations: 0.799 MB / 453.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/0.1472, allocations: 2.464 MB / 456 MB, free: 12.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.1472, allocations: 4 kB / 456 MB, free: 12.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00254/0.1497, allocations: 1.8 MB / 457.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002139/0.15, allocations: 367.6 kB / 458.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001172/0.1511, allocations: 0.8067 MB / 459 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.1512, allocations: 20 kB / 459 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.1516, allocations: 123.7 kB / 459.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.208e-05/0.1516, allocations: 31.84 kB / 459.2 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.1521, allocations: 130.9 kB / 459.3 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.666e-05/0.1522, allocations: 63.98 kB / 459.4 MB, free: 8.887 MB / 334.1 MB Warning: Assuming fixed start value for the following 21 variables: P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 115 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],T1.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P1.feeding.numtrue,P1.feeding.anytrue,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.emptying.vec[1],P1.emptying.numtrue,P1.emptying.anytrue,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[1],T1.activation.arcWeightIntIn[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000987/0.1532, allocations: 0.7304 MB / 460.1 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.1534, allocations: 79.28 kB / 460.2 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.156, allocations: 1.667 MB / 461.8 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.156, allocations: 4.188 kB / 461.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.156, allocations: 8 kB / 461.9 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.156, allocations: 4 kB / 461.9 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/0.1598, allocations: 2.611 MB / 464.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002214/0.162, allocations: 1.585 MB / 466.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.1622, allocations: 31.92 kB / 466.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.1622, allocations: 0 / 466.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.65e-05/0.1623, allocations: 39.97 kB / 466.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1623, allocations: 4 kB / 466.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1623, allocations: 0 / 466.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/0.1663, allocations: 2.812 MB / 468.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.1665, allocations: 136.3 kB / 469.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.1667, allocations: 67.98 kB / 469.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004439/0.1671, allocations: 68 kB / 469.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005321/0.1677, allocations: 303.7 kB / 469.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.1678, allocations: 47.91 kB / 469.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002931/0.1681, allocations: 239.2 kB / 469.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1681, allocations: 0 / 469.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001143/0.1693, allocations: 307.6 kB / 470.1 MB, free: 13.83 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (P1.t_) * Number of discrete variables: 60 (P1.feeding.anytrue,P1.feeding.numtrue,$whenCondition1,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.disMarksInOut,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue) * Number of discrete states: 49 (P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksIn.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.disMarksOut.numtrue,P1.disMarkChange,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$whenCondition1,P1.feeding.numtrue,P1.feeding.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007478/0.17, allocations: 361.9 kB / 470.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003121/0.1732, allocations: 2.098 MB / 472.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.1732, allocations: 0 / 472.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002303/0.1755, allocations: 2.391 MB / 474.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.1761, allocations: 92.36 kB / 475 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.1797, allocations: 1.547 MB / 476.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008382/0.1806, allocations: 0.927 MB / 477.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.1807, allocations: 43.42 kB / 477.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1807, allocations: 0 / 477.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of Templates: time 0.01795/0.1987, allocations: 11.6 MB / 489.1 MB, free: 10.42 MB / 366.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionInitialize.cpp:764:182: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, _P1_P_enableOut_P_arcWeight_, (tmp30 && (!tmp31)), (_P1_P_fireOut_ && (!tmp32)), tmp33); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionInitialize.cpp:764:212: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, _P1_P_enableOut_P_arcWeight_, (tmp30 && (!tmp31)), (_P1_P_fireOut_ && (!tmp32)), tmp33); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunction.cpp:786:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp164),tmp165); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunction.cpp:1165:188: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp210, tmp211, tmp212, tmp213, tmp214, _P1_P_enableOut_P_arcWeight_, (tmp215 && (!tmp216)), (_P1_P_disMarksOut_P_vec_ && (!tmp217)), tmp218); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunction.cpp:1165:229: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp210, tmp211, tmp212, tmp213, tmp214, _P1_P_enableOut_P_arcWeight_, (tmp215 && (!tmp216)), (_P1_P_disMarksOut_P_vec_ && (!tmp217)), tmp218); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.o] Error 1