Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.ZeroArcWeight.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ConTest.ZeroArcWeight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ZeroArcWeight") translateModel(PNlib.Examples.ConTest.ZeroArcWeight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ZeroArcWeight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009311/0.0009312, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 182.3 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.204/0.204, allocations: 16.74 MB / 308.8 MB, free: 15.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003509, allocations: 12 kB / 374.1 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4412, allocations: 54.47 MB / 428.5 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ZeroArcWeight): time 0.005163/0.4465, allocations: 3.151 MB / 431.7 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.4567, allocations: 3.399 MB / 435.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.4588, allocations: 9.656 kB / 435.1 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.46, allocations: 236 kB / 435.3 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.4619, allocations: 198.5 kB / 435.5 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004812/0.4668, allocations: 1.221 MB / 436.8 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005019/0.4718, allocations: 2.882 MB / 439.6 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.4729, allocations: 418.5 kB / 440 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.4753, allocations: 1.009 MB / 441.1 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.4772, allocations: 0.7891 MB / 441.8 MB, free: 33.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000629/0.4779, allocations: 84.44 kB / 441.9 MB, free: 33.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.4797, allocations: 457.9 kB / 442.4 MB, free: 33.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007188/0.4804, allocations: 377.9 kB / 442.7 MB, free: 33.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001855/0.4823, allocations: 0.8687 MB / 443.6 MB, free: 32.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00294/0.4852, allocations: 1.778 MB / 445.4 MB, free: 32.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4853, allocations: 0 / 445.4 MB, free: 32.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.4853, allocations: 4 kB / 445.4 MB, free: 32.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.703e-05/0.4854, allocations: 0 / 445.4 MB, free: 32.26 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 495 * Number of variables: 495 Notification: Performance of Generate backend data structure: time 0.005273/0.4907, allocations: 2.514 MB / 447.9 MB, free: 30.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.536e-05/0.4908, allocations: 13.61 kB / 447.9 MB, free: 30.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/0.495, allocations: 393.3 kB / 448.3 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002993/0.498, allocations: 0.8353 MB / 449.1 MB, free: 29.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005164/0.4986, allocations: 412.7 kB / 449.5 MB, free: 29.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008833/0.4995, allocations: 212 kB / 449.7 MB, free: 29.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.5099, allocations: 3.505 MB / 453.3 MB, free: 27.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.45e-05/0.5101, allocations: 6.719 kB / 453.3 MB, free: 27.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006335/0.5108, allocations: 99.56 kB / 453.4 MB, free: 27.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004504/0.5112, allocations: 167.7 kB / 453.5 MB, free: 27.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006898/0.5181, allocations: 2.542 MB / 456.1 MB, free: 26.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01708/0.5353, allocations: 7.094 MB / 463.2 MB, free: 22.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006839/0.5421, allocations: 3.303 MB / 466.5 MB, free: 20.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005812/0.548, allocations: 3.049 MB / 469.5 MB, free: 18.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.5483, allocations: 41.06 kB / 469.5 MB, free: 18.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005571/0.5538, allocations: 2.026 MB / 471.6 MB, free: 17.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=194): time 8.455e-06/0.5539, allocations: 0 / 471.6 MB, free: 17.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=194): time 0.01915/0.5731, allocations: 6.182 MB / 477.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009105/0.574, allocations: 1.444 MB / 479.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.5763, allocations: 0.8338 MB / 480 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005206/0.5769, allocations: 131.5 kB / 480.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008856/0.5778, allocations: 0.5959 MB / 480.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001117/0.5789, allocations: 0.4928 MB / 481.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009377/0.5799, allocations: 355.3 kB / 481.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.58, allocations: 341.8 kB / 481.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003777/0.5838, allocations: 1.167 MB / 483.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004076/0.5879, allocations: 2.147 MB / 485.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007692/0.5957, allocations: 4.86 MB / 490.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.263e-05/0.5958, allocations: 11.94 kB / 490.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=378) (initialization): time 0.006806/0.6026, allocations: 4.629 MB / 494.7 MB, free: 40 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008524/0.6035, allocations: 0.9931 MB / 495.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003076/0.6066, allocations: 1.987 MB / 497.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008477/0.6074, allocations: 208.7 kB / 497.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.6086, allocations: 323.6 kB / 498.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006888/0.6093, allocations: 0.7082 MB / 499 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.6111, allocations: 345.2 kB / 499.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00045/0.6116, allocations: 152 kB / 499.4 MB, free: 11.05 MB / 366.1 MB Warning: Assuming fixed start value for the following 54 variables: P3.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P3.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P3.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P3.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P3.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P3.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P3.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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.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 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 P3.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P3.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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 P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 309 ($PRE.P3.enableOut.Index,P3.enableOut.Index,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,P3.enableOut.randNum,$PRE.P3.enableOut.randNum,P3.enableOut.state128[4],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[1],$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,$PRE.P3.enableOut.arcWeightSum,P3.enableOut.arcWeightSum,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,$whenCondition9,$PRE.P3.enableIn.posTE,P3.enableIn.posTE,$PRE.P3.enableIn.k,P3.enableIn.k,$PRE.P3.enableIn.endWhile,P3.enableIn.endWhile,P3.enableIn.randNum,$PRE.P3.enableIn.randNum,P3.enableIn.state128[4],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[1],P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.sumEnablingProbTAin,P3.enableIn.sumEnablingProbTAin,$PRE.P3.enableIn.nTAin,P3.enableIn.nTAin,$PRE.P3.enableIn.nremTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],$PRE.P3.enableIn.remTAin[1],$PRE.P3.enableIn.Index,P3.enableIn.Index,$PRE.P3.enableIn.arcWeightSum,P3.enableIn.arcWeightSum,P3.enableIn.disTAin[1],$PRE.P3.enableIn.disTAin[1],$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.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.P2.disMarksInOut,P2.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P3.disMarksIn.anytrue,$PRE.P3.disMarksOut.anytrue,P3.disMarksInOut,$whenCondition8,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition7,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition6,P3.disMarksOut.numtrue,P3.disMarksOut.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],$PRE.P1.fireOut[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,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],$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,$whenCondition2,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P3.inTransition[1].disPlace,P3.inTransition[1].maxTokensint,P3.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P3.reStart,T1.firingCon,T1.inPlaces[2].disTransition,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,P2.outTransition[1].disPlace,P2.outTransition[1].minTokensint,P2.outTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P2.reStart,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P2.disMarksOut.vec[1],P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P3.disMarksIn.vec[1],P3.disMarksIn.numtrue,P3.disMarksIn.anytrue,P1.delayPassedOut.vec[1],P2.delayPassedOut.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntIn[2],T1.activation.arcWeightIntOut[1],P3.delayPassedIn.vec[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[2],T1.activation.testValueInt[2],T1.activation.arcType[2],T1.activation.disPlaceIn[2],T1.activation.minTokensInt[2],T1.activation.tIntIn[2],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P3.emptying.numtrue,P3.emptying.anytrue,P3.feeding.numtrue,P3.feeding.anytrue,P3.feeding.vec[1],P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P3.enableIn.TEin[1],$PRE.P3.enableIn.TEin[1],P3.enableIn.TEin_[1],P3.enableIn.active[1],P3.fireIn[1],$PRE.P3.fireIn[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.emptied[1],T1.activation.fed[2],T1.activation.fed[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.emptying.vec[1],P2.feeding.numtrue,P2.feeding.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.fireOut[1],$PRE.P2.fireOut[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$whenCondition5,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 31 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.003054/0.6147, allocations: 1.897 MB / 0.4896 GB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006547/0.6153, allocations: 186.5 kB / 0.4898 GB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007309/0.6226, allocations: 4.676 MB / 0.4943 GB, free: 4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.6227, allocations: 8 kB / 0.4943 GB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.6227, allocations: 4 kB / 0.4943 GB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.6227, allocations: 11.92 kB / 0.4944 GB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/0.6331, allocations: 6.888 MB / 0.5011 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006367/0.6395, allocations: 4.444 MB / 0.5054 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.6399, allocations: 71.89 kB / 0.5055 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004363/0.6404, allocations: 148.7 kB / 0.5056 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003482/0.6407, allocations: 111.9 kB / 0.5057 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006313/0.6414, allocations: 0.6615 MB / 0.5064 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.6414, allocations: 4 kB / 0.5064 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/0.6527, allocations: 7.425 MB / 0.5136 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.6531, allocations: 211.3 kB / 0.5138 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005711/0.6536, allocations: 199.9 kB / 0.514 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.6549, allocations: 187.9 kB / 0.5142 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007355/0.6556, allocations: 464.2 kB / 0.5146 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002785/0.6559, allocations: 119.9 kB / 0.5148 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006525/0.6566, allocations: 471 kB / 0.5152 GB, free: 14.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6566, allocations: 0 / 0.5152 GB, free: 14.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002508/0.6591, allocations: 0.6863 MB / 0.5159 GB, free: 13.38 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 163 ($whenCondition1,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$whenCondition2,P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],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,P3.disMarksInOut,$cse3[1],$cse3[2],$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition5,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,P2.outTransition[1].tokenInOut,P2.disMarksInOut,P2.fireOut[1],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.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.vec[1],P2.emptying.anytrue,P2.emptying.numtrue,T1.activation.fed[1],T1.activation.fed[2],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,P3.fireIn[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],P3.enableIn.state128[1],P3.enableIn.state128[2],P3.enableIn.state128[3],P3.enableIn.state128[4],P3.enableIn.TEin[1],P3.enableIn.disTAin[1],P3.enableIn.remTAin[1],P3.enableIn.cumEnablingProb[1],P3.enableIn.arcWeightSum,P3.enableIn.nremTAin,P3.enableIn.nTAin,P3.enableIn.k,P3.enableIn.posTE,P3.enableIn.randNum,P3.enableIn.sumEnablingProbTAin,P3.enableIn.endWhile,P3.enableIn.Index,P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.disMarksOut.anytrue,P3.disMarksOut.numtrue,P3.disMarksIn.anytrue,P3.disMarksIn.numtrue,P3.feeding.vec[1],P3.feeding.anytrue,P3.feeding.numtrue,P3.emptying.anytrue,P3.emptying.numtrue,$whenCondition9,P3.enableOut.state128[1],P3.enableOut.state128[2],P3.enableOut.state128[3],P3.enableOut.state128[4],P3.enableOut.arcWeightSum,P3.enableOut.nremTAout,P3.enableOut.nTAout,P3.enableOut.k,P3.enableOut.posTE,P3.enableOut.randNum,P3.enableOut.sumEnablingProbTAout,P3.enableOut.endWhile,P3.enableOut.Index,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue) * Number of discrete states: 148 (P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.enableOut.Index,P3.enableOut.endWhile,P3.enableOut.sumEnablingProbTAout,P3.enableOut.state128[4],P3.enableOut.state128[3],P3.enableOut.state128[2],P3.enableOut.state128[1],P3.enableOut.randNum,P3.enableOut.posTE,P3.enableOut.k,P3.enableOut.nTAout,P3.enableOut.nremTAout,P3.enableOut.arcWeightSum,$whenCondition9,P2.disMarksInOut,P1.disMarksInOut,P3.fireIn[1],P3.disMarksOut.anytrue,P3.disMarksIn.anytrue,P2.fireOut[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P3.emptying.numtrue,P3.emptying.anytrue,P3.feeding.numtrue,P3.feeding.anytrue,P3.disMarksIn.numtrue,P3.disMarksOut.numtrue,P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P3.enableIn.TEin_[1],P3.enableIn.posTE,P3.enableIn.k,P3.enableIn.endWhile,P3.enableIn.state128[4],P3.enableIn.state128[3],P3.enableIn.state128[2],P3.enableIn.state128[1],P3.enableIn.randNum,P3.enableIn.cumEnablingProb[1],P3.enableIn.sumEnablingProbTAin,P3.enableIn.nTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],P3.enableIn.Index,P3.enableIn.arcWeightSum,P3.enableIn.disTAin[1],$whenCondition5,P3.enableIn.TEin[1],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.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],$whenCondition3,P1.enableOut.TEout[1],P3.disMarkChange,P2.disMarkChange,P1.disMarkChange,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.Index,P2.enableIn.endWhile,P2.enableIn.sumEnablingProbTAin,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.arcWeightSum,$whenCondition2,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 25 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001292/0.6604, allocations: 0.5899 MB / 0.5165 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007661/0.6681, allocations: 6.079 MB / 0.5224 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.6681, allocations: 0.75 kB / 0.5224 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007268/0.6754, allocations: 6.984 MB / 0.5292 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.6772, allocations: 226.9 kB / 0.5294 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008575/0.6858, allocations: 4.882 MB / 0.5342 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.687, allocations: 1.341 MB / 0.5355 GB, free: 8.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/0.6874, allocations: 103.4 kB / 0.5356 GB, free: 8.398 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6874, allocations: 4 kB / 0.5356 GB, free: 8.395 MB / 414.1 MB Notification: Performance of Templates: time 0.05106/0.7385, allocations: 33.43 MB / 0.5683 GB, free: 6.816 MB / 446.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.ZeroArcWeight.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.ZeroArcWeight.makefile clang++ -std=c++14 -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.ZeroArcWeightCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgloop414.cpp:100:237: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, 0.0, (-_system->_P2_P_conMarkChange_), tmp238, tmp239, tmp240, _system->_P2_P_prelimSpeedOut_, tmp241, tmp242, (tmp243 && (!tmp244)), (_system->_P2_P_fireOut_ && (!tmp245)), tmp246); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgloop414.cpp:100:277: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, 0.0, (-_system->_P2_P_conMarkChange_), tmp238, tmp239, tmp240, _system->_P2_P_prelimSpeedOut_, tmp241, tmp242, (tmp243 && (!tmp244)), (_system->_P2_P_fireOut_ && (!tmp245)), tmp246); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgloop414.cpp:134:250: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[2], _system->_P3_P_minMarks_, _system->_P3_P_maxMarks_, _system->_P3_P_conMarkChange_, 0.0, tmp248, tmp249, _system->_P2_P_prelimSpeedOut_, tmp250, tmp251, tmp252, (_system->_P3_P_fireIn_ && (!tmp253)), (tmp254 && (!tmp255)), tmp256); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgloop414.cpp:134:273: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[2], _system->_P3_P_minMarks_, _system->_P3_P_maxMarks_, _system->_P3_P_conMarkChange_, 0.0, tmp248, tmp249, _system->_P2_P_prelimSpeedOut_, tmp250, tmp251, tmp252, (_system->_P3_P_fireIn_ && (!tmp253)), (tmp254 && (!tmp255)), tmp256); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgloop93.cpp:105:237: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, 0.0, (-_system->_P2_P_conMarkChange_), tmp259, tmp260, tmp261, _system->_P2_P_prelimSpeedOut_, tmp262, tmp263, (tmp264 && (!tmp265)), (_system->_P2_P_fireOut_ && (!tmp266)), tmp267); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgloop93.cpp:105:277: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, 0.0, (-_system->_P2_P_conMarkChange_), tmp259, tmp260, tmp261, _system->_P2_P_prelimSpeedOut_, tmp262, tmp263, (tmp264 && (!tmp265)), (_system->_P2_P_fireOut_ && (!tmp266)), tmp267); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgloop93.cpp:132:250: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[2], _system->_P3_P_minMarks_, _system->_P3_P_maxMarks_, _system->_P3_P_conMarkChange_, 0.0, tmp268, tmp269, _system->_P2_P_prelimSpeedOut_, tmp270, tmp271, tmp272, (_system->_P3_P_fireIn_ && (!tmp273)), (tmp274 && (!tmp275)), tmp276); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgloop93.cpp:132:273: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[2], _system->_P3_P_minMarks_, _system->_P3_P_maxMarks_, _system->_P3_P_conMarkChange_, 0.0, tmp268, tmp269, _system->_P2_P_prelimSpeedOut_, tmp270, tmp271, tmp272, (_system->_P3_P_fireIn_ && (!tmp273)), (tmp274 && (!tmp275)), tmp276); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightInitialize.cpp:1403:57: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp53,(!_functions->_OMC_LIT5),tmp54); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightInitialize.cpp:1551:175: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp63, tmp64, tmp65, _P2_P_prelimSpeedOut_, tmp66, tmp67, (tmp68 && (!tmp69)), (_P1_P_fireOut_ && (!tmp70)), tmp71); ^~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightInitialize.cpp:1551:205: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp63, tmp64, tmp65, _P2_P_prelimSpeedOut_, tmp66, tmp67, (tmp68 && (!tmp69)), (_P1_P_fireOut_ && (!tmp70)), tmp71); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeight.cpp:1752:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp350,(!tmp351),tmp352); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeight.cpp:2173:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P2_P_enableOut_P_TAout_,(!tmp394),tmp395); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeight.cpp:2594:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp437),tmp438); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeight.cpp:2805:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp476,(!_functions->_OMC_LIT5),tmp477); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeight.cpp:2893:181: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp480, tmp481, tmp482, _P2_P_prelimSpeedOut_, tmp483, tmp484, (tmp485 && (!tmp486)), (_P1_P_fireOut_ && (!tmp487)), tmp488); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeight.cpp:2893:212: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp480, tmp481, tmp482, _P2_P_prelimSpeedOut_, tmp483, tmp484, (tmp485 && (!tmp486)), (_P1_P_fireOut_ && (!tmp487)), tmp488); ^~~~~~~ 17 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightCalcHelperMain.o] Error 1