Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TATest.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.ExtTest.TATest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.ExtTest.TATest") translateModel(PNlib.Examples.ExtTest.TATest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.ExtTest.TATest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 111.7 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.002255/0.002255, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.539/2.539, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.145/0.145, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 63.91 kB / 427 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1726, allocations: 53.49 MB / 480.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TATest): time 0.007596/0.1803, allocations: 3.903 MB / 484.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.1914, allocations: 2.796 MB / 487.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.1934, allocations: 27.88 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.1951, allocations: 349.2 kB / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.1976, allocations: 353.2 kB / 487.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005492/0.2031, allocations: 1.247 MB / 489.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008087/0.2113, allocations: 3.635 MB / 492.8 MB, free: 8.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/0.2136, allocations: 0.8061 MB / 493.6 MB, free: 7.785 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/0.2175, allocations: 1.484 MB / 495.1 MB, free: 6.297 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003468/0.221, allocations: 1.256 MB / 496.3 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001695/0.2227, allocations: 335.9 kB / 496.6 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.2252, allocations: 0.7259 MB / 497.4 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001348/0.2265, allocations: 0.654 MB / 498 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003457/0.23, allocations: 1.415 MB / 499.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007576/0.2376, allocations: 3.7 MB / 0.4913 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.2377, allocations: 0 / 0.4913 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.2377, allocations: 0 / 0.4913 GB, free: 14.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001229/0.2378, allocations: 0 / 0.4913 GB, free: 14.19 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: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.01143/0.2493, allocations: 3.385 MB / 0.4947 GB, free: 10.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.197e-05/0.2494, allocations: 11.89 kB / 0.4947 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005479/0.2549, allocations: 0.5317 MB / 0.4952 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004447/0.2594, allocations: 1.121 MB / 0.4963 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001522/0.2609, allocations: 0.7628 MB / 0.497 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/0.2625, allocations: 315.9 kB / 0.4973 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02072/0.2833, allocations: 5.251 MB / 0.5025 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/0.2835, allocations: 11.94 kB / 0.5025 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001302/0.2848, allocations: 159.9 kB / 0.5026 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008754/0.2857, allocations: 280.5 kB / 0.5029 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3635/0.6493, allocations: 3.882 MB / 0.5067 GB, free: 33.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03338/0.6827, allocations: 10.19 MB / 0.5166 GB, free: 28.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/0.695, allocations: 5.091 MB / 0.5216 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008988/0.7041, allocations: 4.498 MB / 0.526 GB, free: 22.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000592/0.7047, allocations: 311.2 kB / 0.5263 GB, free: 22.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008472/0.7132, allocations: 2.67 MB / 0.5289 GB, free: 20.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=212): time 8.506e-06/0.7133, allocations: 0 / 0.5289 GB, free: 20.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=212): time 0.02807/0.7414, allocations: 8.438 MB / 0.5371 GB, free: 15.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001267/0.7427, allocations: 1.311 MB / 0.5384 GB, free: 13.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/0.7455, allocations: 1.12 MB / 0.5395 GB, free: 12.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006016/0.7461, allocations: 125.7 kB / 0.5396 GB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.7472, allocations: 0.8772 MB / 0.5405 GB, free: 11.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001176/0.7485, allocations: 0.5703 MB / 0.541 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002293/0.7508, allocations: 0.7161 MB / 0.5417 GB, free: 10.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.7509, allocations: 349.9 kB / 0.5421 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004113/0.7551, allocations: 1.555 MB / 0.5436 GB, free: 8.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005016/0.7601, allocations: 2.559 MB / 0.5461 GB, free: 5.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008917/0.7691, allocations: 4.932 MB / 0.5509 GB, free: 15.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.003e-05/0.7692, allocations: 11.94 kB / 0.5509 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01825/0.7875, allocations: 5.484 MB / 0.5563 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001019/0.7886, allocations: 0.8155 MB / 0.5571 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01075/0.7994, allocations: 3.525 MB / 0.5605 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004197/0.8036, allocations: 0.6214 MB / 0.5611 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/0.8062, allocations: 363.1 kB / 0.5615 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/0.8089, allocations: 1.187 MB / 0.5626 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004034/0.813, allocations: 412.6 kB / 0.563 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/0.814, allocations: 171.1 kB / 0.5632 GB, free: 2.824 MB / 398.1 MB Warning: Assuming fixed start value for the following 36 variables: 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.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.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.Index:DISCRETE(fixed = true protected = true ) 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: 131 * Number of states: 0 () * Number of discrete variables: 314 ($PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,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],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],$PRE.P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$PRE.P2.enableOut.disTAout[1],$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[2],$PRE.P1.enableOut.cumEnablingProb[2],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[2],$PRE.P1.enableOut.remTAout[2],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[2],$PRE.P1.enableOut.disTAout[2],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[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[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],T3.inPlaces[1].tokenInOut,$PRE.P2.disMarksInOut,T1.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,P1.outTransition[2].tokenInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition6,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,T3.firingCon,T3.inPlaces[2].disTransition,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[2].disPlace,P1.outTransition[2].minTokensint,P1.outTransition[2].tint,T3.inPlaces[1].disTransition,P2.outTransition[1].disPlace,P2.outTransition[1].minTokensint,P2.outTransition[1].tint,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P2.reStart,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.vec[2],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksOut.vec[1],P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,TA2.outTransition.arcType,T2.fire_,TA1.outTransition.arcType,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedIn.vec[1],P2.delayPassedOut.vec[1],P2.delayPassedIn.vec[1],T1.activation.testValueInt[1],T3.activation.testValueInt[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntIn[2],T3.activation.normalArc[2],T3.activation.testValueInt[2],T3.activation.arcType[2],T3.activation.disPlaceIn[2],T3.activation.minTokensInt[2],T3.activation.tIntIn[2],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],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P2.outTransition[1].arcWeightint,P1.outTransition[1].arcWeightint,T3.fire_,T3.activation.NoTokens,T3.activation.weaklyInputActiveVec[2],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.normalArc[1],T3.activation.fed[2],T3.activation.fed[1],T3.activation.arcType[1],T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.emptied[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.normalArc[1],T1.activation.emptied[1],T1.activation.fed[1],T1.activation.arcType[1],TA2.testColor[3],TA2.testColor[2],TA2.testColor[1],TA1.testColor[3],TA1.testColor[2],TA1.testColor[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.emptying.vec[1],P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.TEout[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout_[1],P2.enableOut.TAout[1],P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireOut[1],$PRE.P2.fireOut[1],P2.fireIn[1],$PRE.P2.fireIn[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[2],P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.TAout[2],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[2],$PRE.P1.fireOut[2],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (343): * Single equations (assignments): 319 * 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 {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.005848/0.8199, allocations: 1.93 MB / 0.5651 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001707/0.8217, allocations: 206.3 kB / 0.5653 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02217/0.8439, allocations: 6.658 MB / 0.5718 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-05/0.844, allocations: 15.94 kB / 0.5718 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/0.844, allocations: 4 kB / 0.5718 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.871e-05/0.8441, allocations: 7.969 kB / 0.5718 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02911/0.8732, allocations: 9.053 MB / 0.5806 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02116/0.8944, allocations: 6.477 MB / 0.587 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008756/0.8953, allocations: 111.8 kB / 0.5871 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002326/0.8977, allocations: 494.2 kB / 0.5875 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001049/0.8988, allocations: 121.5 kB / 0.5877 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/0.9014, allocations: 1.166 MB / 0.5888 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.9015, allocations: 0 / 0.5888 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03311/0.9346, allocations: 9.72 MB / 0.5983 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005699/0.9352, allocations: 234.8 kB / 0.5985 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001608/0.9369, allocations: 203.9 kB / 0.5987 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003589/0.9405, allocations: 223.8 kB / 0.5989 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002396/0.9429, allocations: 0.7112 MB / 0.5996 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009323/0.9439, allocations: 139.9 kB / 0.5997 GB, free: 12.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001616/0.9455, allocations: 0.5888 MB / 0.6003 GB, free: 12.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.22e-07/0.9456, allocations: 0 / 0.6003 GB, free: 12.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005224/0.9508, allocations: 0.8809 MB / 0.6012 GB, free: 11.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 158 ($cse5[1],$cse6[1],$cse6[2],$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,P1.outTransition[2].tokenInOut,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.disTAout[1],P1.enableOut.disTAout[2],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],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.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.vec[2],P1.emptying.anytrue,P1.emptying.numtrue,P2.disMarksInOut,P2.fireIn[1],P2.fireOut[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.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.disTAout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],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,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.vec[1],P2.emptying.anytrue,P2.emptying.numtrue,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],TA2.testColor[1],TA2.testColor[2],TA2.testColor[3],T1.inPlaces[1].tokenInOut,T1.activation.arcType[1],T1.activation.fed[1],T1.activation.emptied[1],T1.activation.normalArc[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.inPlaces[1].tokenInOut,T3.activation.arcType[1],T3.activation.fed[1],T3.activation.fed[2],T3.activation.normalArc[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyInputActiveVec[2],T3.activation.NoTokens,T3.fire_) * Number of discrete states: 125 (P2.disMarksInOut,P1.disMarksInOut,P2.fireIn[1],P2.fireOut[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[1],P1.fireOut[2],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,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.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],T3.activation.weaklyInputActiveVec[2],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.NoTokens,P2.enableOut.TEout_[1],P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$whenCondition4,P2.enableOut.TEout[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[2],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[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[2],P1.enableOut.TEout[1],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[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 75 * Array equations: 2 * 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 {(6,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00256/0.9534, allocations: 0.5829 MB / 0.6017 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01811/0.9716, allocations: 6.85 MB / 0.6084 GB, free: 3.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/0.9716, allocations: 4 kB / 0.6084 GB, free: 3.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01671/0.9883, allocations: 8.381 MB / 0.6166 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/0.9914, allocations: 270.8 kB / 0.6169 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/1.01, allocations: 6.108 MB / 0.6228 GB, free: 4.484 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002513/1.013, allocations: 1.655 MB / 0.6245 GB, free: 2.793 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000649/1.013, allocations: 127.3 kB / 0.6246 GB, free: 2.668 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/1.013, allocations: 4 kB / 0.6246 GB, free: 2.664 MB / 462.1 MB Notification: Performance of Templates: time 0.09831/1.112, allocations: 44.89 MB / 0.6684 GB, free: 5.574 MB / 0.4981 GB make -j1 -f PNlib_PNlib.Examples.ExtTest.TATest.makefile make -j1 -f PNlib_PNlib.Examples.ExtTest.TATest.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.ExtTest.TATestCalcHelperMain.o OMCppPNlib_PNlib.Examples.ExtTest.TATestCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ExtTest.TATestCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop493.cpp:131:267: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 2, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T3_P_inPlaces2_P_speedSum_, _system->_T2_P_outPlaces1_P_speedSum_, tmp295, tmp296, tmp297, tmp298, tmp299, tmp300, (_system->_P1_P_fireIn_ && (!tmp301)), (_system->_P1_P_fireOut_ && (!tmp302)), tmp303); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop493.cpp:131:307: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 2, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T3_P_inPlaces2_P_speedSum_, _system->_T2_P_outPlaces1_P_speedSum_, tmp295, tmp296, tmp297, tmp298, tmp299, tmp300, (_system->_P1_P_fireIn_ && (!tmp301)), (_system->_P1_P_fireOut_ && (!tmp302)), tmp303); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop493.cpp:176:298: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_T3_P_inPlaces1_P_speedSum_, _system->_T1_P_outPlaces1_P_speedSum_, tmp307, tmp308, tmp309, tmp310, tmp311, _system->_P2_P_enableOut_P_arcWeight_, (_system->_P2_P_fireIn_ && (!tmp312)), (_system->_P2_P_fireOut_ && (!tmp313)), tmp314); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop493.cpp:176:338: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_T3_P_inPlaces1_P_speedSum_, _system->_T1_P_outPlaces1_P_speedSum_, tmp307, tmp308, tmp309, tmp310, tmp311, _system->_P2_P_enableOut_P_arcWeight_, (_system->_P2_P_fireIn_ && (!tmp312)), (_system->_P2_P_fireOut_ && (!tmp313)), tmp314); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ExtTest.TATestCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop165.cpp:130:267: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 2, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T3_P_inPlaces2_P_speedSum_, _system->_T2_P_outPlaces1_P_speedSum_, tmp338, tmp339, tmp340, tmp341, tmp342, tmp343, (_system->_P1_P_fireIn_ && (!tmp344)), (_system->_P1_P_fireOut_ && (!tmp345)), tmp346); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop165.cpp:130:307: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 2, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T3_P_inPlaces2_P_speedSum_, _system->_T2_P_outPlaces1_P_speedSum_, tmp338, tmp339, tmp340, tmp341, tmp342, tmp343, (_system->_P1_P_fireIn_ && (!tmp344)), (_system->_P1_P_fireOut_ && (!tmp345)), tmp346); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop165.cpp:173:298: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_T3_P_inPlaces1_P_speedSum_, _system->_T1_P_outPlaces1_P_speedSum_, tmp350, tmp351, tmp352, tmp353, tmp354, _system->_P2_P_enableOut_P_arcWeight_, (_system->_P2_P_fireIn_ && (!tmp355)), (_system->_P2_P_fireOut_ && (!tmp356)), tmp357); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop165.cpp:173:338: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_T3_P_inPlaces1_P_speedSum_, _system->_T1_P_outPlaces1_P_speedSum_, tmp350, tmp351, tmp352, tmp353, tmp354, _system->_P2_P_enableOut_P_arcWeight_, (_system->_P2_P_fireIn_ && (!tmp355)), (_system->_P2_P_fireOut_ && (!tmp356)), tmp357); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ExtTest.TATestCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ExtTest.TATestInitialize.cpp:2557:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp117,(!_functions->_OMC_LIT2),tmp118); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATestInitialize.cpp:2582:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp120,(!_functions->_OMC_LIT1),tmp121); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ExtTest.TATestCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ExtTest.TATest.cpp:2146:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P2_P_enableOut_P_TAout_,(!tmp480),tmp481); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATest.cpp:2567:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P2_P_enableIn_P_active_,(!tmp523),tmp524); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATest.cpp:3017:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp566),tmp567); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATest.cpp:3228:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp605,(!_functions->_OMC_LIT1),tmp606); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATest.cpp:3286:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp609,(!_functions->_OMC_LIT2),tmp610); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATest.cpp:3700:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_active_,(!tmp620),tmp621); ^~~~~~~ 16 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ExtTest.TATestCalcHelperMain.o] Error 1