Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.Speed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 218.1 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.0818/0.0818, allocations: 16.95 MB / 330.1 MB, free: 2.305 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ConTest.Speed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.Speed") translateModel(PNlib.Examples.ConTest.Speed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.Speed") [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.89 kB / 461 MB, free: 1.832 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1117, allocations: 57.64 MB / 0.5065 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.Speed): time 0.005219/0.1169, allocations: 3.539 MB / 0.5099 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005581/0.1225, allocations: 2.73 MB / 0.5126 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008079/0.1233, allocations: 23.88 kB / 0.5126 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008982/0.1242, allocations: 329.5 kB / 0.5129 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.1255, allocations: 365.7 kB / 0.5133 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2067/0.3322, allocations: 1.297 MB / 0.5146 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004641/0.3368, allocations: 3.228 MB / 0.5177 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005903/0.3374, allocations: 223.9 kB / 0.5179 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.3396, allocations: 1.347 MB / 0.5192 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002096/0.3417, allocations: 1.067 MB / 0.5203 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000932/0.3426, allocations: 238.2 kB / 0.5205 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.3445, allocations: 0.7746 MB / 0.5213 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008599/0.3453, allocations: 0.5057 MB / 0.5218 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002148/0.3475, allocations: 1.036 MB / 0.5228 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004815/0.3523, allocations: 2.766 MB / 0.5255 GB, free: 7.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3523, allocations: 6.562 kB / 0.5255 GB, free: 7.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3523, allocations: 0 / 0.5255 GB, free: 7.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001217/0.3524, allocations: 0 / 0.5255 GB, free: 7.875 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.006077/0.3585, allocations: 3.118 MB / 0.5285 GB, free: 5.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3585, allocations: 9.594 kB / 0.5285 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/0.3604, allocations: 411.8 kB / 0.5289 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.3619, allocations: 0.8266 MB / 0.5297 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003928/0.3623, allocations: 0.8096 MB / 0.5305 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003309/0.3626, allocations: 226.3 kB / 0.5307 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005998/0.3686, allocations: 3.78 MB / 0.5344 GB, free: 2.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/0.3687, allocations: 4 kB / 0.5344 GB, free: 2.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/0.3689, allocations: 111 kB / 0.5345 GB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003255/0.3693, allocations: 211.8 kB / 0.5347 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004599/0.3739, allocations: 2.763 MB / 0.5374 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.3845, allocations: 7.293 MB / 0.5446 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.3875, allocations: 1.77 MB / 0.5463 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002304/0.3898, allocations: 1.5 MB / 0.5478 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.3909, allocations: 371.1 kB / 0.5481 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003092/0.394, allocations: 1.986 MB / 0.55 GB, free: 9.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=177): time 3.707e-06/0.394, allocations: 0 / 0.55 GB, free: 9.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=177): time 0.01114/0.4052, allocations: 6.311 MB / 0.5562 GB, free: 6.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000879/0.406, allocations: 1.163 MB / 0.5573 GB, free: 4.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.4075, allocations: 0.8588 MB / 0.5582 GB, free: 3.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002696/0.4078, allocations: 117.7 kB / 0.5583 GB, free: 3.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008123/0.4086, allocations: 0.6668 MB / 0.5589 GB, free: 3.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006665/0.4093, allocations: 0.4894 MB / 0.5594 GB, free: 2.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009986/0.4103, allocations: 0.5757 MB / 0.56 GB, free: 1.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4105, allocations: 338 kB / 0.5603 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/0.4124, allocations: 1.086 MB / 0.5614 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002702/0.4151, allocations: 1.957 MB / 0.5633 GB, free: 14.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005485/0.4206, allocations: 4.234 MB / 0.5674 GB, free: 9.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.724e-05/0.4206, allocations: 5.688 kB / 0.5674 GB, free: 9.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.007848/0.4285, allocations: 4.532 MB / 0.5718 GB, free: 4.949 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006529/0.4292, allocations: 0.7685 MB / 0.5726 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004246/0.4334, allocations: 2.628 MB / 0.5752 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.4349, allocations: 418.7 kB / 0.5756 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009641/0.4359, allocations: 285 kB / 0.5758 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.4372, allocations: 0.9821 MB / 0.5768 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.4388, allocations: 334 kB / 0.5771 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004771/0.4392, allocations: 140 kB / 0.5772 GB, free: 15.19 MB / 430.1 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real 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.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.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.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.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 265 ($PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,$whenCondition6,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$PRE.P2.enableIn.disTAin[1],$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.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[2],$PRE.P1.enableIn.cumEnablingProb[2],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],$PRE.P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[2],$PRE.P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],T3.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition5,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition4,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T3.outPlaces[1].disTransition,T3.outPlaces[1].enabledByInPlaces,P2.reStart,T3.firingCon,T3.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,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[2].disPlace,P1.inTransition[2].maxTokensint,P1.inTransition[2].tint,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.vec[2],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,T2.fire_,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],P1.delayPassedIn.vec[2],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntOut[1],P2.delayPassedIn.vec[1],T3.activation.disPlaceOut[1],T3.activation.maxTokensInt[1],T3.activation.tIntOut[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireIn[1],$PRE.P2.fireIn[1],T3.fire_,T3.activation.NoTokens,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.emptied[1],T3.activation.fed[1],T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.emptied[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[2],P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.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.enableIn.TEin[2],$PRE.P1.enableIn.TEin[2],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.active[2],P1.enableIn.active[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[2],$PRE.P1.fireIn[2],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 23 * 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 {(3,14)} Notification: Performance of prepare postOptimizeDAE: time 0.003198/0.4424, allocations: 1.678 MB / 0.5789 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007181/0.4432, allocations: 179.2 kB / 0.5791 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008651/0.4518, allocations: 5.041 MB / 0.584 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/0.4518, allocations: 12 kB / 0.584 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4518, allocations: 0 / 0.584 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.4519, allocations: 7.922 kB / 0.584 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.4652, allocations: 7.338 MB / 0.5912 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00807/0.4733, allocations: 4.859 MB / 0.5959 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.4736, allocations: 63.89 kB / 0.596 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009989/0.4746, allocations: 323 kB / 0.5963 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003141/0.4749, allocations: 106.4 kB / 0.5964 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.476, allocations: 0.9619 MB / 0.5973 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.476, allocations: 0 / 0.5973 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/0.4887, allocations: 7.458 MB / 0.6046 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.4889, allocations: 138.8 kB / 0.6047 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006777/0.4896, allocations: 172 kB / 0.6049 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.4909, allocations: 163.9 kB / 0.6051 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008611/0.4918, allocations: 391.6 kB / 0.6054 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003794/0.4921, allocations: 121 kB / 0.6055 GB, free: 1.621 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007403/0.4929, allocations: 475 kB / 0.606 GB, free: 1.156 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4929, allocations: 0 / 0.606 GB, free: 1.156 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002661/0.4955, allocations: 0.6824 MB / 0.6067 GB, free: 484 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 133 (P2.disMarksInOut,$cse4[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.disMarksInOut,P1.fireIn[1],P1.fireIn[2],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.TEin[2],P1.enableIn.disTAin[1],P1.enableIn.disTAin[2],P1.enableIn.remTAin[1],P1.enableIn.remTAin[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[2],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.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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.vec[2],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.inPlaces[1].tokenInOut,T3.activation.fed[1],T3.activation.emptied[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.NoTokens,T3.fire_,P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.disTAin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,$whenCondition6,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue) * Number of discrete states: 117 (P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$whenCondition6,P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[2],P1.fireIn[1],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.NoTokens,P2.enableIn.TEin_[1],P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition3,P2.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 52 * Array equations: 1 * Algorithm blocks: 19 * 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 {(3,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001467/0.497, allocations: 0.5457 MB / 0.6072 GB, free: 15.94 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007669/0.5047, allocations: 4.763 MB / 0.6118 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/0.5047, allocations: 4 kB / 0.6119 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00506/0.5097, allocations: 3.2 MB / 0.615 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.5112, allocations: 221.8 kB / 0.6152 GB, free: 7.227 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00926/0.5204, allocations: 4.399 MB / 0.6195 GB, free: 2.789 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.5218, allocations: 1.41 MB / 0.6209 GB, free: 1.348 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.5222, allocations: 95.42 kB / 0.621 GB, free: 1.254 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5222, allocations: 0 / 0.621 GB, free: 1.254 MB / 462.1 MB Notification: Performance of Templates: time 0.05305/0.5752, allocations: 34.9 MB / 0.655 GB, free: 14.24 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f PNlib_PNlib.Examples.ConTest.Speed.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.ConTest.Speed.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.SpeedCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop395.cpp:136:267: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(2, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T3_P_inPlaces1_P_speedSum_, _system->_T2_P_outPlaces1_P_speedSum_, tmp258, tmp259, tmp260, tmp261, tmp262, tmp263, (_system->_P1_P_fireIn_ && (!tmp264)), (_system->_P1_P_fireOut_ && (!tmp265)), tmp266); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop395.cpp:136:307: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(2, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T3_P_inPlaces1_P_speedSum_, _system->_T2_P_outPlaces1_P_speedSum_, tmp258, tmp259, tmp260, tmp261, tmp262, tmp263, (_system->_P1_P_fireIn_ && (!tmp264)), (_system->_P1_P_fireOut_ && (!tmp265)), tmp266); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop395.cpp:191:226: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp270, tmp271, tmp272, tmp273, tmp274, tmp275, (_system->_P2_P_fireIn_ && (!tmp276)), (tmp277 && (!tmp278)), tmp279); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop395.cpp:191:249: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp270, tmp271, tmp272, tmp273, tmp274, tmp275, (_system->_P2_P_fireIn_ && (!tmp276)), (tmp277 && (!tmp278)), tmp279); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop114.cpp:135:267: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(2, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T3_P_inPlaces1_P_speedSum_, _system->_T2_P_outPlaces1_P_speedSum_, tmp298, tmp299, tmp300, tmp301, tmp302, tmp303, (_system->_P1_P_fireIn_ && (!tmp304)), (_system->_P1_P_fireOut_ && (!tmp305)), tmp306); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop114.cpp:135:307: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(2, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T3_P_inPlaces1_P_speedSum_, _system->_T2_P_outPlaces1_P_speedSum_, tmp298, tmp299, tmp300, tmp301, tmp302, tmp303, (_system->_P1_P_fireIn_ && (!tmp304)), (_system->_P1_P_fireOut_ && (!tmp305)), tmp306); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop114.cpp:187:226: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp310, tmp311, tmp312, tmp313, tmp314, tmp315, (_system->_P2_P_fireIn_ && (!tmp316)), (tmp317 && (!tmp318)), tmp319); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop114.cpp:187:249: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp310, tmp311, tmp312, tmp313, tmp314, tmp315, (_system->_P2_P_fireIn_ && (!tmp316)), (tmp317 && (!tmp318)), tmp319); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.SpeedInitialize.cpp:1713:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT1),tmp75); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.Speed.cpp:1868:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp409,(!tmp410),tmp411); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.Speed.cpp:2289:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp453),tmp454); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.Speed.cpp:2498:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT1),tmp492); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.Speed.cpp:2938:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp504,(!tmp505),tmp506); ^~~~~~~ 13 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.534341035876423] Failed to read output from testmodel.py, exit status != 0: 0.5850355790462345 0.599939573 0.24430779400000002 Calling exit ...