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.001558/0.001558, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.00185/0.00185, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.403/1.403, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07506/0.07506, allocations: 16.73 MB / 307.5 MB, free: 14.28 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 62.03 kB / 371.7 MB, free: 47.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09751/0.0989, allocations: 53.47 MB / 425.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTDfunction): time 0.002867/0.1018, allocations: 2.091 MB / 427.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.1043, allocations: 1.571 MB / 428.9 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002818/0.1046, allocations: 7.938 kB / 428.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.1049, allocations: 95.36 kB / 429 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.1053, allocations: 103.4 kB / 429.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.1065, allocations: 0.5763 MB / 429.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008822/0.1074, allocations: 1.346 MB / 431 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.1076, allocations: 156.6 kB / 431.2 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003298/0.1079, allocations: 0.5063 MB / 431.7 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.1083, allocations: 350.2 kB / 432 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.199e-05/0.1084, allocations: 87.94 kB / 432.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.1089, allocations: 423.5 kB / 432.5 MB, free: 5.473 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.109, allocations: 167.4 kB / 432.7 MB, free: 5.309 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.1093, allocations: 386.3 kB / 433 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006143/0.1099, allocations: 0.8278 MB / 433.9 MB, free: 4.102 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1099, allocations: 4 kB / 433.9 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1099, allocations: 0 / 433.9 MB, free: 4.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.1099, allocations: 0 / 433.9 MB, free: 4.098 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.001392/0.1113, allocations: 1.298 MB / 435.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1114, allocations: 15.89 kB / 435.2 MB, free: 2.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005863/0.112, allocations: 148 kB / 435.3 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.1124, allocations: 422.8 kB / 435.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.1126, allocations: 146.4 kB / 435.9 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.1127, allocations: 75.98 kB / 436 MB, free: 1.832 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.1143, allocations: 1.276 MB / 437.2 MB, free: 0.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.1143, allocations: 4 kB / 437.2 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.409e-05/0.1144, allocations: 31.98 kB / 437.3 MB, free: 476 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.631e-05/0.1145, allocations: 65.25 kB / 437.3 MB, free: 412 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.116, allocations: 0.8872 MB / 438.2 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003793/0.1198, allocations: 3.035 MB / 441.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.1213, allocations: 1.271 MB / 442.5 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.1225, allocations: 1.046 MB / 443.6 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.1226, allocations: 93.09 kB / 443.7 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.1237, allocations: 0.7798 MB / 444.5 MB, free: 9.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.324e-06/0.1238, allocations: 0 / 444.5 MB, free: 9.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.003517/0.1273, allocations: 2.256 MB / 446.7 MB, free: 6.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003853/0.1277, allocations: 0.5905 MB / 447.3 MB, free: 6.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.1282, allocations: 417 kB / 447.7 MB, free: 5.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.11e-05/0.1283, allocations: 61.69 kB / 447.8 MB, free: 5.535 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.1285, allocations: 284 kB / 448 MB, free: 5.254 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.1287, allocations: 193.7 kB / 448.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.129, allocations: 222.5 kB / 448.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1292, allocations: 366.8 kB / 448.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006835/0.1298, allocations: 434 kB / 449.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009364/0.1308, allocations: 0.8028 MB / 450 MB, free: 3.082 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002879/0.1337, allocations: 2.46 MB / 452.5 MB, free: 296 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.1337, allocations: 0 / 452.5 MB, free: 296 kB / 318.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002487/0.1362, allocations: 1.812 MB / 454.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.1364, allocations: 362.7 kB / 454.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.032e-05/0.1365, allocations: 16 kB / 454.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.1365, allocations: 19.94 kB / 454.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.1369, allocations: 123.7 kB / 454.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/0.1369, allocations: 23.92 kB / 454.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.1374, allocations: 139.2 kB / 455 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.17e-05/0.1375, allocations: 63.94 kB / 455 MB, free: 13.6 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 (126): * Single equations (assignments): 114 * 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.0009096/0.1384, allocations: 0.7359 MB / 455.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.1386, allocations: 83.27 kB / 455.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/0.1411, allocations: 1.666 MB / 457.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.1411, allocations: 8 kB / 457.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.1411, allocations: 0 / 457.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1412, allocations: 3.984 kB / 457.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/0.1449, allocations: 2.619 MB / 460.2 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.1449, allocations: 4 kB / 460.2 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.1451, allocations: 27.97 kB / 460.2 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.1451, allocations: 3.938 kB / 460.2 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-05/0.1452, allocations: 35.98 kB / 460.2 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1452, allocations: 4 kB / 460.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1452, allocations: 0 / 460.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/0.1491, allocations: 2.816 MB / 463 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.1492, allocations: 120.4 kB / 463.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.1494, allocations: 67.97 kB / 463.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/0.1498, allocations: 72 kB / 463.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000488/0.1503, allocations: 303.7 kB / 463.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.9e-05/0.1504, allocations: 47.92 kB / 463.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002981/0.1507, allocations: 243.2 kB / 463.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1507, allocations: 0 / 463.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001166/0.1519, allocations: 307.6 kB / 464.2 MB, free: 4.152 MB / 334.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 (35): * Single equations (assignments): 22 * 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.000668/0.1526, allocations: 366.9 kB / 464.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.1552, allocations: 2.07 MB / 466.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.1552, allocations: 4 kB / 466.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.1572, allocations: 2.384 MB / 469 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.1577, allocations: 89.53 kB / 469.1 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.1605, allocations: 1.724 MB / 470.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.161, allocations: 0.9189 MB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.1611, allocations: 51.42 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1611, allocations: 0 / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Templates: time 0.0164/0.1775, allocations: 11.54 MB / 483.3 MB, free: 0.6523 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction.makefile clang++ -std=c++14 -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:787: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:1166: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:1166: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