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.001625/0.001625, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001734/0.001734, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1131/0.1131, allocations: 16.72 MB / 307.9 MB, free: 14.24 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 59.91 kB / 427 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1477, allocations: 53.47 MB / 480.5 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTD): time 0.006272/0.154, allocations: 1.991 MB / 482.5 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005358/0.1594, allocations: 1.544 MB / 484 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006542/0.1601, allocations: 8 kB / 484 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005646/0.1607, allocations: 127 kB / 484.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007169/0.1615, allocations: 131 kB / 484.3 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.1642, allocations: 0.6446 MB / 484.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002528/0.1668, allocations: 1.342 MB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004337/0.1672, allocations: 156.6 kB / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.1683, allocations: 0.5025 MB / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007663/0.169, allocations: 362.1 kB / 487.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.1693, allocations: 84 kB / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.1705, allocations: 451.5 kB / 487.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.1708, allocations: 159.5 kB / 487.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006252/0.1715, allocations: 386.2 kB / 488.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.1736, allocations: 1.126 MB / 489.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1737, allocations: 0 / 489.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1737, allocations: 0 / 489.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.1737, allocations: 0 / 489.4 MB, free: 11.99 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.002664/0.1764, allocations: 1.31 MB / 490.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.1764, allocations: 11.89 kB / 490.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.1775, allocations: 140 kB / 490.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.1786, allocations: 442.5 kB / 491.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003915/0.179, allocations: 142.4 kB / 491.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/0.1792, allocations: 79.98 kB / 491.5 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.1826, allocations: 1.268 MB / 492.8 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.1827, allocations: 3.938 kB / 492.8 MB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.1828, allocations: 35.98 kB / 492.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001894/0.183, allocations: 57.27 kB / 492.9 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002942/0.186, allocations: 0.8911 MB / 493.8 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006454/0.1925, allocations: 2.996 MB / 496.8 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/0.1951, allocations: 1.177 MB / 498 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/0.1971, allocations: 0.972 MB / 498.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003458/0.2006, allocations: 2.896 MB / 0.4901 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002061/0.2026, allocations: 0.7546 MB / 0.4908 GB, free: 13.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 4.098e-06/0.2027, allocations: 0 / 0.4908 GB, free: 13.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=71): time 0.006119/0.2088, allocations: 2.17 MB / 0.4929 GB, free: 11.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005477/0.2094, allocations: 0.5983 MB / 0.4935 GB, free: 10.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007863/0.2102, allocations: 417.2 kB / 0.4939 GB, free: 10.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.2103, allocations: 61.7 kB / 0.494 GB, free: 10.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.2107, allocations: 287.9 kB / 0.4942 GB, free: 10.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.211, allocations: 185.7 kB / 0.4944 GB, free: 9.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005062/0.2115, allocations: 226.5 kB / 0.4946 GB, free: 9.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002556/0.2118, allocations: 378.8 kB / 0.495 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.2131, allocations: 426 kB / 0.4954 GB, free: 8.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.2148, allocations: 0.8046 MB / 0.4962 GB, free: 7.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005106/0.2199, allocations: 2.459 MB / 0.4986 GB, free: 5.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.612e-05/0.2199, allocations: 11.88 kB / 0.4986 GB, free: 5.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004616/0.2246, allocations: 1.805 MB / 0.5004 GB, free: 3.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003608/0.2249, allocations: 362.6 kB / 0.5007 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00211/0.2271, allocations: 0.7882 MB / 0.5015 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.284e-05/0.2271, allocations: 16 kB / 0.5015 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007076/0.2279, allocations: 139.7 kB / 0.5016 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-05/0.2279, allocations: 23.88 kB / 0.5017 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009473/0.2289, allocations: 134.9 kB / 0.5018 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.2291, allocations: 56 kB / 0.5018 GB, free: 1.547 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.001473/0.2305, allocations: 0.7495 MB / 0.5026 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.2309, allocations: 71.44 kB / 0.5026 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3317/0.5626, allocations: 1.6 MB / 0.5042 GB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.5626, allocations: 5.281 kB / 0.5042 GB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.5627, allocations: 3.969 kB / 0.5042 GB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.5627, allocations: 3.562 kB / 0.5042 GB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006411/0.5691, allocations: 2.543 MB / 0.5067 GB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003763/0.5729, allocations: 1.524 MB / 0.5082 GB, free: 34.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.5732, allocations: 39.69 kB / 0.5082 GB, free: 34.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.5732, allocations: 5 kB / 0.5082 GB, free: 34.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.5734, allocations: 38.22 kB / 0.5083 GB, free: 34.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.5734, allocations: 2.281 kB / 0.5083 GB, free: 34.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.5734, allocations: 1.719 kB / 0.5083 GB, free: 34.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006594/0.58, allocations: 2.739 MB / 0.5109 GB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.5802, allocations: 128.6 kB / 0.5111 GB, free: 32.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002818/0.5805, allocations: 70.41 kB / 0.5111 GB, free: 32.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007609/0.5813, allocations: 64.61 kB / 0.5112 GB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008969/0.5822, allocations: 311.8 kB / 0.5115 GB, free: 32.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/0.5824, allocations: 50.88 kB / 0.5115 GB, free: 32.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004624/0.5829, allocations: 246.6 kB / 0.5118 GB, free: 32.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5829, allocations: 0 / 0.5118 GB, free: 32.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001957/0.5849, allocations: 310.5 kB / 0.5121 GB, free: 32.53 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.001077/0.586, allocations: 351.6 kB / 0.5124 GB, free: 32.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003993/0.59, allocations: 2.001 MB / 0.5144 GB, free: 31.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.59, allocations: 3.969 kB / 0.5144 GB, free: 31.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003005/0.593, allocations: 2.323 MB / 0.5166 GB, free: 29.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009295/0.594, allocations: 88.58 kB / 0.5167 GB, free: 29.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.5981, allocations: 1.481 MB / 0.5182 GB, free: 28.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.5987, allocations: 0.9235 MB / 0.5191 GB, free: 28.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.599, allocations: 53.16 kB / 0.5191 GB, free: 28.04 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.599, allocations: 3.844 kB / 0.5191 GB, free: 28.04 MB / 382.1 MB Notification: Performance of Templates: time 0.02598/0.625, allocations: 11.75 MB / 0.5306 GB, free: 22.18 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