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.001762/0.001762, allocations: 108 kB / 16.41 MB, free: 6.484 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.001888/0.001888, allocations: 187 kB / 17.34 MB, free: 5.75 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.132/2.132, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1218/0.1218, allocations: 16.72 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 63.91 kB / 427 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1443, allocations: 53.48 MB / 480.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTDfunction): time 0.005199/0.1496, allocations: 1.971 MB / 482.4 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004469/0.1541, allocations: 1.556 MB / 484 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004523/0.1546, allocations: 8 kB / 484 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005089/0.1551, allocations: 127 kB / 484.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006663/0.1558, allocations: 119 kB / 484.2 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.158, allocations: 0.6499 MB / 484.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002243/0.1603, allocations: 1.33 MB / 486.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004319/0.1607, allocations: 168.5 kB / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009377/0.1617, allocations: 0.5025 MB / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008052/0.1625, allocations: 358.1 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002584/0.1628, allocations: 84 kB / 487.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.1639, allocations: 467.5 kB / 487.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.1642, allocations: 155.5 kB / 487.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006858/0.1649, allocations: 382.2 kB / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.1669, allocations: 1.118 MB / 489.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1669, allocations: 0 / 489.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1669, allocations: 0 / 489.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.1669, 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.00295/0.1699, allocations: 1.314 MB / 490.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.17, allocations: 15.89 kB / 490.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.171, allocations: 140 kB / 490.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00097/0.172, allocations: 438.5 kB / 491.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.1723, allocations: 146.4 kB / 491.5 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.1725, allocations: 75.98 kB / 491.5 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/0.1757, allocations: 1.271 MB / 492.8 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/0.1757, allocations: 7.922 kB / 492.8 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.1759, allocations: 39.98 kB / 492.9 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/0.176, allocations: 57.27 kB / 492.9 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/0.1786, allocations: 0.8911 MB / 493.8 MB, free: 7.387 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005886/0.1845, allocations: 3.012 MB / 496.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/0.187, allocations: 1.278 MB / 498.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.1888, allocations: 1.05 MB / 499.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002898/0.1917, allocations: 2.88 MB / 0.4903 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001788/0.1935, allocations: 0.772 MB / 0.491 GB, free: 13.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 4.488e-06/0.1936, allocations: 4 kB / 0.491 GB, free: 13.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=72): time 0.005487/0.1991, allocations: 2.248 MB / 0.4932 GB, free: 11.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004617/0.1995, allocations: 0.5983 MB / 0.4938 GB, free: 10.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007187/0.2003, allocations: 413.2 kB / 0.4942 GB, free: 10.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.2004, allocations: 65.97 kB / 0.4942 GB, free: 10.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.2008, allocations: 276 kB / 0.4945 GB, free: 9.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.2011, allocations: 189.7 kB / 0.4947 GB, free: 9.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004963/0.2016, allocations: 226.5 kB / 0.4949 GB, free: 9.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002348/0.2018, allocations: 374.7 kB / 0.4953 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.203, allocations: 426 kB / 0.4957 GB, free: 8.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.2045, allocations: 0.8029 MB / 0.4965 GB, free: 7.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004535/0.209, allocations: 2.457 MB / 0.4989 GB, free: 4.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/0.209, allocations: 4 kB / 0.4989 GB, free: 4.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00406/0.2131, allocations: 1.805 MB / 0.5006 GB, free: 2.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003197/0.2135, allocations: 366.8 kB / 0.501 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001895/0.2154, allocations: 0.7919 MB / 0.5017 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.109e-05/0.2155, allocations: 20 kB / 0.5018 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.2161, allocations: 127.7 kB / 0.5019 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.605e-05/0.2162, allocations: 28.05 kB / 0.5019 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008764/0.2171, allocations: 134.9 kB / 0.502 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.2172, allocations: 60 kB / 0.5021 GB, free: 1.285 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.001404/0.2186, allocations: 0.7418 MB / 0.5028 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.219, allocations: 83.27 kB / 0.5029 GB, free: 396 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3033/0.5223, allocations: 1.662 MB / 0.5045 GB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.5224, allocations: 8.375 kB / 0.5045 GB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.5224, allocations: 0.9688 kB / 0.5045 GB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.5224, allocations: 3.125 kB / 0.5045 GB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006185/0.5286, allocations: 2.604 MB / 0.5071 GB, free: 34.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003504/0.5322, allocations: 1.581 MB / 0.5086 GB, free: 33.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.5324, allocations: 35.67 kB / 0.5087 GB, free: 33.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.5325, allocations: 2.156 kB / 0.5087 GB, free: 33.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.5326, allocations: 37.8 kB / 0.5087 GB, free: 33.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/0.5327, allocations: 6.281 kB / 0.5087 GB, free: 33.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.5327, allocations: 1.812 kB / 0.5087 GB, free: 33.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006418/0.5391, allocations: 2.812 MB / 0.5114 GB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.5393, allocations: 126.6 kB / 0.5116 GB, free: 32.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/0.5395, allocations: 70.41 kB / 0.5116 GB, free: 32.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007104/0.5403, allocations: 66.41 kB / 0.5117 GB, free: 32.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008377/0.5411, allocations: 303.5 kB / 0.512 GB, free: 32.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/0.5413, allocations: 47.41 kB / 0.512 GB, free: 32.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004233/0.5417, allocations: 249.4 kB / 0.5123 GB, free: 31.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5417, allocations: 0 / 0.5123 GB, free: 31.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002023/0.5438, allocations: 310.2 kB / 0.5126 GB, free: 31.92 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.001005/0.5448, allocations: 348.5 kB / 0.5129 GB, free: 31.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003876/0.5487, allocations: 2.035 MB / 0.5149 GB, free: 30.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.5487, allocations: 0.875 kB / 0.5149 GB, free: 30.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002978/0.5517, allocations: 2.395 MB / 0.5172 GB, free: 28.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.5526, allocations: 89.31 kB / 0.5173 GB, free: 28.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.5567, allocations: 1.53 MB / 0.5188 GB, free: 28.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/0.5573, allocations: 0.9294 MB / 0.5197 GB, free: 27.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.5575, allocations: 48.62 kB / 0.5198 GB, free: 27.35 MB / 382.1 MB Notification: Performance of SimCode: time 1.472e-06/0.5576, allocations: 3.5 kB / 0.5198 GB, free: 27.35 MB / 382.1 MB Notification: Performance of Templates: time 0.0244/0.582, allocations: 11.75 MB / 0.5312 GB, free: 21.31 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