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.002273/0.002273, allocations: 109.3 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.002295/0.002295, allocations: 187 kB / 17.34 MB, free: 5.762 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.968/2.968, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1343/0.1343, allocations: 16.74 MB / 307.9 MB, free: 14.25 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 67.89 kB / 427 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1987, allocations: 53.49 MB / 480.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTDfunction): time 0.009324/0.208, allocations: 1.961 MB / 482.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00567/0.2138, allocations: 1.56 MB / 484 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007105/0.2145, allocations: 7.938 kB / 484 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006084/0.2152, allocations: 123 kB / 484.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005124/0.2204, allocations: 119 kB / 484.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.2238, allocations: 0.6562 MB / 484.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002903/0.2268, allocations: 1.334 MB / 486.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004928/0.2273, allocations: 160.6 kB / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.2284, allocations: 0.5102 MB / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007187/0.2291, allocations: 354.2 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.2294, allocations: 84 kB / 487.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.2305, allocations: 459.5 kB / 487.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.2308, allocations: 159.4 kB / 487.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005443/0.2313, allocations: 378.3 kB / 488.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.2334, allocations: 1.122 MB / 489.4 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2334, allocations: 0 / 489.4 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2334, allocations: 0 / 489.4 MB, free: 12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.2334, allocations: 4 kB / 489.4 MB, free: 12 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.002998/0.2364, allocations: 1.31 MB / 490.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.2365, allocations: 11.89 kB / 490.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.2378, allocations: 140 kB / 490.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.2389, allocations: 438.5 kB / 491.3 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/0.2391, allocations: 146.4 kB / 491.5 MB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/0.2394, allocations: 75.98 kB / 491.5 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003927/0.2433, allocations: 1.272 MB / 492.8 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/0.2434, allocations: 7.984 kB / 492.8 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.2436, allocations: 39.92 kB / 492.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002046/0.2438, allocations: 57.27 kB / 492.9 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003118/0.247, allocations: 0.8911 MB / 493.8 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007263/0.2542, allocations: 3.012 MB / 496.8 MB, free: 4.246 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/0.2573, allocations: 1.278 MB / 498.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.2596, allocations: 1.05 MB / 499.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003502/0.2632, allocations: 2.876 MB / 0.4902 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002289/0.2655, allocations: 0.7836 MB / 0.491 GB, free: 13.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 4.648e-06/0.2655, allocations: 0 / 0.491 GB, free: 13.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=72): time 0.006419/0.2719, allocations: 2.246 MB / 0.4932 GB, free: 11.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005307/0.2725, allocations: 0.5983 MB / 0.4938 GB, free: 10.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008292/0.2734, allocations: 409.4 kB / 0.4942 GB, free: 10.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.2736, allocations: 69.69 kB / 0.4942 GB, free: 10.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.2739, allocations: 276 kB / 0.4945 GB, free: 9.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.2743, allocations: 189.7 kB / 0.4947 GB, free: 9.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004897/0.2748, allocations: 226.5 kB / 0.4949 GB, free: 9.332 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.275, allocations: 370.8 kB / 0.4953 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.2763, allocations: 430 kB / 0.4957 GB, free: 8.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.2781, allocations: 0.799 MB / 0.4965 GB, free: 7.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005307/0.2835, allocations: 2.458 MB / 0.4989 GB, free: 4.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.688e-05/0.2835, allocations: 4 kB / 0.4989 GB, free: 4.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.005021/0.2886, allocations: 1.812 MB / 0.5006 GB, free: 2.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003711/0.289, allocations: 366.7 kB / 0.501 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002191/0.2912, allocations: 0.7997 MB / 0.5018 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.385e-05/0.2913, allocations: 16 kB / 0.5018 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/0.292, allocations: 127.7 kB / 0.5019 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.044e-05/0.2921, allocations: 27.92 kB / 0.5019 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.2932, allocations: 126.9 kB / 0.502 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.2934, allocations: 59.98 kB / 0.5021 GB, free: 1.293 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: 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.001507/0.2949, allocations: 0.7496 MB / 0.5028 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.2952, allocations: 75.28 kB / 0.5029 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4202/0.7155, allocations: 1.664 MB / 0.5045 GB, free: 34.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/0.7155, allocations: 12.62 kB / 0.5045 GB, free: 34.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.7156, allocations: 1.125 kB / 0.5045 GB, free: 34.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.7156, allocations: 3.297 kB / 0.5045 GB, free: 34.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007231/0.7228, allocations: 2.6 MB / 0.5071 GB, free: 34.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004205/0.7271, allocations: 1.587 MB / 0.5086 GB, free: 33.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.7275, allocations: 33.12 kB / 0.5087 GB, free: 33.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.7275, allocations: 1.375 kB / 0.5087 GB, free: 33.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/0.7277, allocations: 37.94 kB / 0.5087 GB, free: 33.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-05/0.7277, allocations: 3.25 kB / 0.5087 GB, free: 33.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.7278, allocations: 1.094 kB / 0.5087 GB, free: 33.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007497/0.7353, allocations: 2.81 MB / 0.5114 GB, free: 32.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.7356, allocations: 127.4 kB / 0.5116 GB, free: 32.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003738/0.736, allocations: 69.59 kB / 0.5116 GB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008249/0.7368, allocations: 65.31 kB / 0.5117 GB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009623/0.7378, allocations: 310.2 kB / 0.512 GB, free: 32.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/0.738, allocations: 44.72 kB / 0.512 GB, free: 32.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004802/0.7385, allocations: 245.8 kB / 0.5123 GB, free: 31.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.7385, allocations: 3.172 kB / 0.5123 GB, free: 31.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002325/0.7409, allocations: 310.1 kB / 0.5126 GB, free: 31.89 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 (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.001176/0.7421, allocations: 338.1 kB / 0.5129 GB, free: 31.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005045/0.7471, allocations: 2.045 MB / 0.5149 GB, free: 30.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.7472, allocations: 0 / 0.5149 GB, free: 30.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003771/0.751, allocations: 2.391 MB / 0.5172 GB, free: 28.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.7522, allocations: 85.89 kB / 0.5173 GB, free: 28.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004974/0.7572, allocations: 1.538 MB / 0.5188 GB, free: 28.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/0.7579, allocations: 0.9317 MB / 0.5197 GB, free: 27.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.7582, allocations: 45.34 kB / 0.5198 GB, free: 27.32 MB / 382.1 MB Notification: Performance of SimCode: time 3.045e-06/0.7582, allocations: 0 / 0.5198 GB, free: 27.32 MB / 382.1 MB Notification: Performance of Templates: time 0.04625/0.8045, allocations: 11.67 MB / 0.5312 GB, free: 21.42 MB / 382.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