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.002135/0.002135, allocations: 104.6 kB / 16.4 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.002652/0.002652, allocations: 192.1 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.432/2.432, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1157/0.1157, allocations: 16.73 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 63.91 kB / 427 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1475, allocations: 53.48 MB / 480.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TATest): time 0.006552/0.1541, allocations: 3.909 MB / 484.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007568/0.1617, allocations: 2.793 MB / 487.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001999/0.1637, allocations: 23.88 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.1649, allocations: 345.2 kB / 487.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.1669, allocations: 361.2 kB / 487.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.1709, allocations: 1.246 MB / 489.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005891/0.1768, allocations: 3.631 MB / 492.8 MB, free: 8.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.1782, allocations: 0.8022 MB / 493.6 MB, free: 7.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00263/0.1809, allocations: 1.484 MB / 495.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002328/0.1832, allocations: 1.268 MB / 496.3 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000748/0.184, allocations: 328 kB / 496.6 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.1856, allocations: 0.722 MB / 497.4 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008076/0.1864, allocations: 0.6618 MB / 498 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.1883, allocations: 1.412 MB / 499.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005346/0.1937, allocations: 3.704 MB / 0.4914 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1937, allocations: 0 / 0.4914 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1937, allocations: 0 / 0.4914 GB, free: 14.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.685e-05/0.1938, allocations: 0 / 0.4914 GB, free: 14.2 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.006946/0.2008, allocations: 3.377 MB / 0.4946 GB, free: 10.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.711e-05/0.2009, allocations: 15.88 kB / 0.4947 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00319/0.2041, allocations: 0.5318 MB / 0.4952 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.2068, allocations: 1.117 MB / 0.4963 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008519/0.2077, allocations: 0.7628 MB / 0.497 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000653/0.2083, allocations: 319.9 kB / 0.4973 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/0.2215, allocations: 5.255 MB / 0.5025 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.947e-05/0.2216, allocations: 7.938 kB / 0.5025 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005491/0.2222, allocations: 155.9 kB / 0.5026 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006262/0.2228, allocations: 280.5 kB / 0.5029 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3829/0.6058, allocations: 3.884 MB / 0.5067 GB, free: 33.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02572/0.6315, allocations: 10.19 MB / 0.5166 GB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009557/0.6412, allocations: 5.099 MB / 0.5216 GB, free: 24.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007681/0.6489, allocations: 4.503 MB / 0.526 GB, free: 21.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000437/0.6494, allocations: 303.3 kB / 0.5263 GB, free: 21.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006374/0.6558, allocations: 2.671 MB / 0.5289 GB, free: 20.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=212): time 5.701e-06/0.6558, allocations: 0 / 0.5289 GB, free: 20.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=212): time 0.02147/0.6773, allocations: 8.443 MB / 0.5371 GB, free: 14.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007631/0.6781, allocations: 1.308 MB / 0.5384 GB, free: 13.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.68, allocations: 1.113 MB / 0.5395 GB, free: 12.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003692/0.6804, allocations: 129.7 kB / 0.5396 GB, free: 11.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008515/0.6813, allocations: 0.8754 MB / 0.5405 GB, free: 11.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006551/0.682, allocations: 0.5764 MB / 0.541 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/0.6832, allocations: 0.7161 MB / 0.5417 GB, free: 9.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.6833, allocations: 353.9 kB / 0.5421 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003209/0.6866, allocations: 1.552 MB / 0.5436 GB, free: 7.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003895/0.6905, allocations: 2.559 MB / 0.5461 GB, free: 4.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006942/0.6974, allocations: 4.931 MB / 0.5509 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-05/0.6975, allocations: 11.94 kB / 0.5509 GB, free: 15.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01246/0.71, allocations: 5.48 MB / 0.5563 GB, free: 9.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007207/0.7108, allocations: 0.8155 MB / 0.5571 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007388/0.7182, allocations: 3.526 MB / 0.5605 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003148/0.7214, allocations: 0.6251 MB / 0.5611 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.7232, allocations: 351.2 kB / 0.5615 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.7252, allocations: 1.189 MB / 0.5626 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/0.7281, allocations: 408.7 kB / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005189/0.7287, allocations: 168 kB / 0.5632 GB, free: 2.281 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.003935/0.7326, allocations: 1.944 MB / 0.5651 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009425/0.7336, allocations: 210.3 kB / 0.5653 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/0.7481, allocations: 6.648 MB / 0.5718 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.552e-05/0.7482, allocations: 19.92 kB / 0.5718 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.7483, allocations: 4 kB / 0.5718 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/0.7483, allocations: 3.984 kB / 0.5718 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/0.7692, allocations: 9.05 MB / 0.5806 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01451/0.7838, allocations: 6.485 MB / 0.587 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005313/0.7843, allocations: 107.7 kB / 0.5871 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.7856, allocations: 498.2 kB / 0.5875 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004882/0.7861, allocations: 118 kB / 0.5877 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.7875, allocations: 1.166 MB / 0.5888 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7875, allocations: 0 / 0.5888 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/0.8026, allocations: 9.721 MB / 0.5983 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/0.803, allocations: 234.8 kB / 0.5985 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005499/0.8036, allocations: 199.9 kB / 0.5987 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.805, allocations: 227.8 kB / 0.5989 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001063/0.8061, allocations: 0.711 MB / 0.5996 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002933/0.8064, allocations: 140.5 kB / 0.5997 GB, free: 12.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007508/0.8072, allocations: 0.5888 MB / 0.6003 GB, free: 11.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8072, allocations: 0 / 0.6003 GB, free: 11.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002478/0.8097, allocations: 0.877 MB / 0.6012 GB, free: 10.7 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.001059/0.8107, allocations: 0.5845 MB / 0.6017 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008279/0.819, allocations: 6.848 MB / 0.6084 GB, free: 2.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.8191, allocations: 5.812 kB / 0.6084 GB, free: 2.984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007305/0.8264, allocations: 8.375 MB / 0.6166 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.8276, allocations: 270.3 kB / 0.6169 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009279/0.8369, allocations: 6.119 MB / 0.6229 GB, free: 3.945 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.8381, allocations: 1.659 MB / 0.6245 GB, free: 2.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.8384, allocations: 127.4 kB / 0.6246 GB, free: 2.125 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.8384, allocations: 0 / 0.6246 GB, free: 2.125 MB / 462.1 MB Notification: Performance of Templates: time 0.5948/1.433, allocations: 45.21 MB / 0.6687 GB, free: 4.719 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