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.001898/0.001898, allocations: 107.6 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.00228/0.00228, 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 2.558/2.558, 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.137/0.137, allocations: 16.74 MB / 307.9 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 59.91 kB / 427 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3203, allocations: 53.48 MB / 480.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTC): time 0.0117/0.332, allocations: 2.003 MB / 482.5 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006578/0.3387, allocations: 1.676 MB / 484.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.34, allocations: 8 kB / 484.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009839/0.341, allocations: 131 kB / 484.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.3427, allocations: 139 kB / 484.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006726/0.3495, allocations: 0.6892 MB / 485.1 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003717/0.3532, allocations: 1.428 MB / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006216/0.3539, allocations: 160.7 kB / 486.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.3555, allocations: 0.5414 MB / 487.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01367/0.3692, allocations: 374.1 kB / 487.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006034/0.3699, allocations: 88 kB / 487.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.3723, allocations: 0.4916 MB / 488.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005466/0.3729, allocations: 163.4 kB / 488.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.3742, allocations: 402.3 kB / 488.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004132/0.3783, allocations: 1.192 MB / 489.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.85e-05/0.3784, allocations: 8 kB / 489.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3784, allocations: 3.938 kB / 489.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.213e-05/0.3785, allocations: 0 / 489.9 MB, free: 11.45 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.01299/0.3915, allocations: 1.325 MB / 491.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001032/0.3916, allocations: 11.89 kB / 491.3 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.393, allocations: 144 kB / 491.4 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.3944, allocations: 435 kB / 491.8 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/0.3947, allocations: 158.5 kB / 492 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003325/0.3951, allocations: 75.98 kB / 492.1 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006488/0.4016, allocations: 1.334 MB / 493.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.237e-05/0.4017, allocations: 7.922 kB / 493.4 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.402, allocations: 39.98 kB / 493.4 MB, free: 7.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002282/0.4022, allocations: 61.27 kB / 493.5 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/0.4147, allocations: 0.9379 MB / 494.4 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01918/0.434, allocations: 2.917 MB / 497.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003206/0.4373, allocations: 1.193 MB / 498.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002185/0.4395, allocations: 1.069 MB / 499.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008867/0.4525, allocations: 2.967 MB / 0.4908 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002685/0.4553, allocations: 0.7813 MB / 0.4916 GB, free: 12.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 6.262e-06/0.4553, allocations: 0 / 0.4916 GB, free: 12.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=70): time 0.00765/0.463, allocations: 2.463 MB / 0.494 GB, free: 10.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005798/0.4636, allocations: 0.552 MB / 0.4945 GB, free: 9.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.4648, allocations: 405.1 kB / 0.4949 GB, free: 9.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001984/0.465, allocations: 65.69 kB / 0.495 GB, free: 9.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004863/0.4655, allocations: 284 kB / 0.4952 GB, free: 9.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004099/0.4659, allocations: 185.7 kB / 0.4954 GB, free: 8.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007128/0.4667, allocations: 230.5 kB / 0.4956 GB, free: 8.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002622/0.467, allocations: 370.8 kB / 0.496 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006938/0.4739, allocations: 470 kB / 0.4964 GB, free: 7.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.4758, allocations: 0.8135 MB / 0.4972 GB, free: 6.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003754/0.4796, allocations: 1.768 MB / 0.499 GB, free: 4.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-05/0.4797, allocations: 7.938 kB / 0.499 GB, free: 4.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.005152/0.4848, allocations: 1.933 MB / 0.5008 GB, free: 2.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003459/0.4852, allocations: 374.6 kB / 0.5012 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01114/0.4964, allocations: 1.056 MB / 0.5022 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007083/0.4972, allocations: 77.11 kB / 0.5023 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009046/0.4981, allocations: 119.7 kB / 0.5024 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009005/0.4991, allocations: 0.6069 MB / 0.503 GB, free: 396 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.5005, allocations: 134.9 kB / 0.5031 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000462/0.501, allocations: 60.05 kB / 0.5032 GB, free: 200 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.5505/1.052, allocations: 0.7599 MB / 0.5039 GB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004835/1.052, allocations: 68.61 kB / 0.504 GB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006212/1.058, allocations: 1.92 MB / 0.5059 GB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.345e-05/1.058, allocations: 9.625 kB / 0.5059 GB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/1.058, allocations: 0 / 0.5059 GB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/1.059, allocations: 5.031 kB / 0.5059 GB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/1.07, allocations: 2.658 MB / 0.5085 GB, free: 33.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005327/1.075, allocations: 1.812 MB / 0.5103 GB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/1.076, allocations: 29.75 kB / 0.5103 GB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002822/1.076, allocations: 59.56 kB / 0.5104 GB, free: 32.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/1.076, allocations: 42.58 kB / 0.5104 GB, free: 32.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005399/1.077, allocations: 0.6018 MB / 0.511 GB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.077, allocations: 1.375 kB / 0.511 GB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/1.09, allocations: 2.97 MB / 0.5139 GB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/1.091, allocations: 130.1 kB / 0.514 GB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000461/1.091, allocations: 77.95 kB / 0.5141 GB, free: 30.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009248/1.092, allocations: 72.92 kB / 0.5141 GB, free: 30.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008279/1.093, allocations: 256.2 kB / 0.5144 GB, free: 30.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001914/1.093, allocations: 52.31 kB / 0.5144 GB, free: 30.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005218/1.094, allocations: 236.5 kB / 0.5147 GB, free: 30.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.094, allocations: 0 / 0.5147 GB, free: 30.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002686/1.096, allocations: 336.4 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.001528/1.098, allocations: 358.7 kB / 0.5153 GB, free: 30.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006277/1.104, allocations: 2.205 MB / 0.5175 GB, free: 28.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/1.104, allocations: 0 / 0.5175 GB, free: 28.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009554/1.114, allocations: 2.444 MB / 0.5199 GB, free: 26.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/1.115, allocations: 92.66 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.006122/1.121, allocations: 1.548 MB / 0.5215 GB, free: 26.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/1.123, allocations: 0.9325 MB / 0.5224 GB, free: 25.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/1.123, allocations: 51.09 kB / 0.5224 GB, free: 25.54 MB / 382.1 MB Notification: Performance of SimCode: time 2.174e-06/1.123, allocations: 0 / 0.5224 GB, free: 25.54 MB / 382.1 MB Notification: Performance of Templates: time 0.05176/1.175, allocations: 14.81 MB / 0.5369 GB, free: 15.25 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