Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.PCtoTD.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.PCtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTD") translateModel(PNlib.Examples.HybTest.PCtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002421/0.002421, allocations: 106.2 kB / 16.41 MB, free: 6.457 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.002617/0.002618, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.8/2.8, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1422/0.1422, allocations: 16.73 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 55.91 kB / 427 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1648, allocations: 53.48 MB / 480.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTD): time 0.00472/0.1696, allocations: 1.978 MB / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004415/0.174, allocations: 1.556 MB / 484 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00062/0.1747, allocations: 11.94 kB / 484 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005838/0.1753, allocations: 123 kB / 484.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008622/0.1762, allocations: 123 kB / 484.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.1787, allocations: 0.6446 MB / 484.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002614/0.1814, allocations: 1.334 MB / 486.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005162/0.1819, allocations: 160.5 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.183, allocations: 0.5063 MB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009379/0.184, allocations: 358.2 kB / 487.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002813/0.1843, allocations: 84 kB / 487.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.1855, allocations: 459.4 kB / 487.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003187/0.1858, allocations: 155.5 kB / 487.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007361/0.1866, allocations: 382.3 kB / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006612/0.1932, allocations: 1.122 MB / 489.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.1933, allocations: 4 kB / 489.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1933, allocations: 0 / 489.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.712e-05/0.1933, allocations: 3.938 kB / 489.4 MB, free: 11.97 MB / 366.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.003517/0.1968, allocations: 1.306 MB / 490.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.1969, allocations: 11.89 kB / 490.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.198, allocations: 144 kB / 490.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009128/0.199, allocations: 434.5 kB / 491.3 MB, free: 9.934 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.1992, allocations: 142.4 kB / 491.4 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.1994, allocations: 79.98 kB / 491.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/0.2025, allocations: 1.272 MB / 492.8 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.2025, allocations: 4 kB / 492.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.2027, allocations: 39.97 kB / 492.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.2028, allocations: 61.27 kB / 492.9 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006726/0.2096, allocations: 0.8872 MB / 493.8 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005631/0.2152, allocations: 2.988 MB / 496.8 MB, free: 4.254 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.2174, allocations: 1.181 MB / 498 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.2191, allocations: 0.9721 MB / 498.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002815/0.2219, allocations: 2.896 MB / 0.4901 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001736/0.2237, allocations: 0.7585 MB / 0.4908 GB, free: 13.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 3.246e-06/0.2237, allocations: 0 / 0.4908 GB, free: 13.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=71): time 0.009444/0.2331, allocations: 2.172 MB / 0.4929 GB, free: 11.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005277/0.2337, allocations: 0.5983 MB / 0.4935 GB, free: 10.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007267/0.2345, allocations: 421.5 kB / 0.4939 GB, free: 10.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.2346, allocations: 61.69 kB / 0.494 GB, free: 10.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.2349, allocations: 283.9 kB / 0.4942 GB, free: 10 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.2352, allocations: 189.7 kB / 0.4944 GB, free: 9.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004458/0.2357, allocations: 230.5 kB / 0.4946 GB, free: 9.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.2359, allocations: 370.8 kB / 0.495 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.2369, allocations: 426 kB / 0.4954 GB, free: 8.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.2385, allocations: 0.8045 MB / 0.4962 GB, free: 7.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005502/0.244, allocations: 2.459 MB / 0.4986 GB, free: 5.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.423e-05/0.2441, allocations: 7.938 kB / 0.4986 GB, free: 5.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004026/0.2481, allocations: 1.804 MB / 0.5004 GB, free: 3.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003271/0.2485, allocations: 362.7 kB / 0.5007 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001749/0.2502, allocations: 0.7878 MB / 0.5015 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.067e-05/0.2503, allocations: 16.53 kB / 0.5015 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/0.2509, allocations: 135.7 kB / 0.5016 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.539e-05/0.251, allocations: 23.92 kB / 0.5016 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009057/0.2519, allocations: 130.9 kB / 0.5018 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.2521, allocations: 59.98 kB / 0.5018 GB, free: 1.539 MB / 382.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: 55 * 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 (129): * Single equations (assignments): 117 * 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.001387/0.2535, allocations: 0.7614 MB / 0.5026 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.2538, allocations: 71.44 kB / 0.5026 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3799/0.6336, allocations: 1.603 MB / 0.5042 GB, free: 34.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.6337, allocations: 4.156 kB / 0.5042 GB, free: 34.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.6337, allocations: 1.062 kB / 0.5042 GB, free: 34.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.6338, allocations: 7.125 kB / 0.5042 GB, free: 34.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006779/0.6406, allocations: 2.542 MB / 0.5067 GB, free: 34.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007743/0.6484, allocations: 1.526 MB / 0.5082 GB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.6487, allocations: 31.27 kB / 0.5082 GB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.6487, allocations: 2.875 kB / 0.5082 GB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/0.649, allocations: 40.72 kB / 0.5083 GB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/0.649, allocations: 2.734 kB / 0.5083 GB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.649, allocations: 0.9062 kB / 0.5083 GB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006717/0.6558, allocations: 2.742 MB / 0.5109 GB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.656, allocations: 134.1 kB / 0.5111 GB, free: 32.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.6563, allocations: 69.62 kB / 0.5111 GB, free: 32.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007832/0.6571, allocations: 63.7 kB / 0.5112 GB, free: 32.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008721/0.658, allocations: 312.4 kB / 0.5115 GB, free: 32.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/0.6582, allocations: 46.44 kB / 0.5115 GB, free: 32.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000491/0.6587, allocations: 246.7 kB / 0.5118 GB, free: 32.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6587, allocations: 2.094 kB / 0.5118 GB, free: 32.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002011/0.6607, allocations: 301.6 kB / 0.5121 GB, free: 32.17 MB / 382.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.001294/0.6621, allocations: 357.9 kB / 0.5124 GB, free: 32.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008281/0.6704, allocations: 2.012 MB / 0.5144 GB, free: 30.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/0.6704, allocations: 0 / 0.5144 GB, free: 30.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003334/0.6738, allocations: 2.315 MB / 0.5166 GB, free: 29.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009501/0.6747, allocations: 85.28 kB / 0.5167 GB, free: 29.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.679, allocations: 1.477 MB / 0.5182 GB, free: 28.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/0.6797, allocations: 0.9236 MB / 0.5191 GB, free: 27.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004356/0.684, allocations: 49.66 kB / 0.5191 GB, free: 27.69 MB / 382.1 MB Notification: Performance of SimCode: time 1.412e-06/0.6841, allocations: 0 / 0.5191 GB, free: 27.69 MB / 382.1 MB Notification: Performance of Templates: time 0.03413/0.7182, allocations: 11.67 MB / 0.5305 GB, free: 22.04 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTD.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTD.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.PCtoTDCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.PCtoTDCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.PCtoTDCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDInitialize.cpp:766:159: 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, tmp30, (tmp31 && (!tmp32)), (_P1_P_fireOut_ && (!tmp33)), tmp34); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDInitialize.cpp:766:189: 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, tmp30, (tmp31 && (!tmp32)), (_P1_P_fireOut_ && (!tmp33)), tmp34); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.PCtoTDCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTD.cpp:777:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp165),tmp166); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTD.cpp:1158:166: 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, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (tmp217 && (!tmp218)), (_P1_P_disMarksOut_P_vec_ && (!tmp219)), tmp220); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTD.cpp:1158:207: 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, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (tmp217 && (!tmp218)), (_P1_P_disMarksOut_P_vec_ && (!tmp219)), tmp220); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.PCtoTDCalcHelperMain.o] Error 1