Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.PCtoTC.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.ConTest.PCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTC") translateModel(PNlib.Examples.ConTest.PCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 108 kB / 16.41 MB, free: 6.027 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.002282/0.002282, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.753/2.753, allocations: 222.9 MB / 241 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.1777/0.1777, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 60.05 kB / 427 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1869, allocations: 53.48 MB / 480.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTC): time 0.005341/0.1923, allocations: 2.002 MB / 482.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005603/0.1979, allocations: 1.672 MB / 484.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000885/0.1989, allocations: 15.94 kB / 484.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.1995, allocations: 135 kB / 484.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000833/0.2004, allocations: 131 kB / 484.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.2032, allocations: 0.6945 MB / 485.1 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002671/0.2059, allocations: 1.432 MB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004487/0.2064, allocations: 160.7 kB / 486.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.2075, allocations: 0.5376 MB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008946/0.2084, allocations: 378.1 kB / 487.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002402/0.2087, allocations: 88 kB / 487.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.2102, allocations: 0.4916 MB / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000339/0.2105, allocations: 171.4 kB / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00071/0.2112, allocations: 398.2 kB / 488.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.2136, allocations: 1.192 MB / 489.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-05/0.2137, allocations: 0 / 489.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.2137, allocations: 3.938 kB / 489.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.2137, allocations: 0 / 489.9 MB, free: 11.47 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.003267/0.217, allocations: 1.318 MB / 491.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.491e-05/0.2171, allocations: 19.83 kB / 491.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.2183, allocations: 140 kB / 491.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.2195, allocations: 438.9 kB / 491.8 MB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/0.2198, allocations: 150.5 kB / 492 MB, free: 9.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.2201, allocations: 79.98 kB / 492.1 MB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003546/0.2236, allocations: 1.334 MB / 493.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.2237, allocations: 0 / 493.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/0.2238, allocations: 39.98 kB / 493.4 MB, free: 7.746 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001725/0.224, allocations: 69.25 kB / 493.5 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/0.2267, allocations: 0.9379 MB / 494.4 MB, free: 6.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006092/0.2328, allocations: 2.917 MB / 497.3 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.2352, allocations: 1.193 MB / 498.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/0.2373, allocations: 1.065 MB / 499.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003656/0.241, allocations: 2.975 MB / 0.4908 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006137/0.2472, allocations: 0.7852 MB / 0.4916 GB, free: 12.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 1.503e-05/0.2473, allocations: 0 / 0.4916 GB, free: 12.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=70): time 0.006887/0.2542, allocations: 2.461 MB / 0.494 GB, free: 10.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006326/0.2549, allocations: 0.552 MB / 0.4945 GB, free: 9.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008004/0.2557, allocations: 409.1 kB / 0.4949 GB, free: 9.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.2559, allocations: 65.69 kB / 0.495 GB, free: 9.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.2562, allocations: 276 kB / 0.4952 GB, free: 9.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000302/0.2565, allocations: 189.7 kB / 0.4954 GB, free: 8.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004935/0.2571, allocations: 230.5 kB / 0.4956 GB, free: 8.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.2573, allocations: 366.8 kB / 0.496 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.2585, allocations: 470 kB / 0.4964 GB, free: 7.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.2602, allocations: 0.8213 MB / 0.4972 GB, free: 6.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007388/0.2677, allocations: 1.764 MB / 0.499 GB, free: 4.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.595e-05/0.2678, allocations: 4 kB / 0.499 GB, free: 4.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.005041/0.2728, allocations: 1.932 MB / 0.5008 GB, free: 2.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003943/0.2733, allocations: 377.1 kB / 0.5012 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002694/0.276, allocations: 1.061 MB / 0.5022 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005059/0.2765, allocations: 76.75 kB / 0.5023 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.2772, allocations: 115.8 kB / 0.5024 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00069/0.2779, allocations: 0.6108 MB / 0.503 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.2789, allocations: 139.1 kB / 0.5031 GB, free: 272 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.2791, allocations: 55.98 kB / 0.5032 GB, free: 216 kB / 382.1 MB Warning: Assuming fixed start value for the following 18 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 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 108 ($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],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition3,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,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.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.delayPassedOut.vec[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.fire_,T1.activation.NoTokens,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$PRE.P1.fireOut[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.4382/0.7173, allocations: 0.7598 MB / 0.5039 GB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005053/0.7178, allocations: 74.92 kB / 0.504 GB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00569/0.7235, allocations: 1.919 MB / 0.5059 GB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.57e-05/0.7236, allocations: 11.75 kB / 0.5059 GB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.7237, allocations: 1.688 kB / 0.5059 GB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.7237, allocations: 3.281 kB / 0.5059 GB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/0.735, allocations: 2.654 MB / 0.5085 GB, free: 33.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004565/0.7396, allocations: 1.815 MB / 0.5103 GB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.7399, allocations: 30.48 kB / 0.5103 GB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003079/0.7402, allocations: 61.7 kB / 0.5104 GB, free: 32.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.7404, allocations: 41.52 kB / 0.5104 GB, free: 32.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005413/0.741, allocations: 0.5952 MB / 0.511 GB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.741, allocations: 1.125 kB / 0.511 GB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/0.7535, allocations: 2.978 MB / 0.5139 GB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.7538, allocations: 127.3 kB / 0.514 GB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004795/0.7543, allocations: 76.3 kB / 0.5141 GB, free: 30.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.7554, allocations: 72.86 kB / 0.5142 GB, free: 30.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007864/0.7563, allocations: 254.8 kB / 0.5144 GB, free: 30.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001924/0.7565, allocations: 46.03 kB / 0.5144 GB, free: 30.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004199/0.7569, allocations: 241.2 kB / 0.5147 GB, free: 30.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.7569, allocations: 0 / 0.5147 GB, free: 30.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001892/0.7588, allocations: 334 kB / 0.515 GB, free: 30.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (P1.t_) * Number of discrete variables: 57 ($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,$cse2[1],$whenCondition3,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireOut[1],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.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.NoTokens,T1.fire_) * Number of discrete states: 51 (P1.disMarksInOut,P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.disMarksIn.numtrue,P1.disMarksOut.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.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 19 * Array equations: 1 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001261/0.7601, allocations: 363.6 kB / 0.5153 GB, free: 30.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004489/0.7646, allocations: 2.203 MB / 0.5175 GB, free: 28.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/0.7647, allocations: 3.906 kB / 0.5175 GB, free: 28.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007924/0.7726, allocations: 2.438 MB / 0.5199 GB, free: 26.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.7741, allocations: 100.2 kB / 0.52 GB, free: 26.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/0.7791, allocations: 1.538 MB / 0.5215 GB, free: 26.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008169/0.78, allocations: 0.9305 MB / 0.5224 GB, free: 25.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.7803, allocations: 59.52 kB / 0.5224 GB, free: 25.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.7803, allocations: 0 / 0.5224 GB, free: 25.54 MB / 382.1 MB Notification: Performance of Templates: time 0.04044/0.8208, allocations: 14.73 MB / 0.5368 GB, free: 15.32 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTC.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTC.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.ConTest.PCtoTCCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgloop154.cpp:102:213: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp153, tmp154, tmp155, tmp156, tmp157, tmp158, (tmp159 && (!tmp160)), (_system->_P1_P_fireOut_ && (!tmp161)), tmp162); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgloop154.cpp:102:253: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp153, tmp154, tmp155, tmp156, tmp157, tmp158, (tmp159 && (!tmp160)), (_system->_P1_P_fireOut_ && (!tmp161)), tmp162); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgloop39.cpp:100:213: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp164, tmp165, tmp166, tmp167, tmp168, tmp169, (tmp170 && (!tmp171)), (_system->_P1_P_fireOut_ && (!tmp172)), tmp173); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgloop39.cpp:100:253: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp164, tmp165, tmp166, tmp167, tmp168, tmp169, (tmp170 && (!tmp171)), (_system->_P1_P_fireOut_ && (!tmp172)), tmp173); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCInitialize.cpp:644:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT5),tmp19); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTC.cpp:885:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp204),tmp205); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTC.cpp:1094:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT5),tmp243); ^~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.o] Error 1