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.001535/0.001535, allocations: 105 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.001581/0.001581, allocations: 189.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.106/2.106, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1163/0.1163, allocations: 16.73 MB / 307.9 MB, free: 14.26 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 63.89 kB / 427 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.199, allocations: 53.48 MB / 480.5 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ZeroArcWeight): time 0.008406/0.2074, allocations: 3.424 MB / 483.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.2182, allocations: 2.844 MB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/0.2205, allocations: 19.94 kB / 486.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.222, allocations: 289.7 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.2244, allocations: 277.8 kB / 487.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005804/0.2302, allocations: 1.361 MB / 488.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007768/0.238, allocations: 3.64 MB / 492.3 MB, free: 9.129 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.2393, allocations: 432.5 kB / 492.7 MB, free: 8.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003841/0.2432, allocations: 1.321 MB / 494 MB, free: 7.363 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002983/0.2462, allocations: 0.9253 MB / 495 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.2475, allocations: 224 kB / 495.2 MB, free: 6.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.2495, allocations: 0.6322 MB / 495.8 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007836/0.2503, allocations: 430.5 kB / 496.2 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.2521, allocations: 0.9917 MB / 497.2 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005727/0.2578, allocations: 2.578 MB / 499.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.35e-05/0.2579, allocations: 0 / 499.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.08e-06/0.2579, allocations: 0 / 499.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001512/0.2581, allocations: 0 / 499.8 MB, free: 1.578 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 495 * Number of variables: 495 Notification: Performance of Generate backend data structure: time 0.009283/0.2674, allocations: 2.905 MB / 0.4909 GB, free: 14.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.883e-05/0.2675, allocations: 8.031 kB / 0.4909 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/0.2709, allocations: 390.5 kB / 0.4913 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/0.2738, allocations: 0.8452 MB / 0.4921 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006415/0.2745, allocations: 406.2 kB / 0.4925 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006871/0.2752, allocations: 212 kB / 0.4927 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.2854, allocations: 3.479 MB / 0.4961 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.778e-05/0.2856, allocations: 7.938 kB / 0.4961 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004142/0.286, allocations: 104 kB / 0.4962 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004126/0.2864, allocations: 162.7 kB / 0.4964 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007222/0.2936, allocations: 2.525 MB / 0.4989 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5689/0.8627, allocations: 7.048 MB / 0.5057 GB, free: 30.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007431/0.8702, allocations: 3.268 MB / 0.5089 GB, free: 29.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005779/0.876, allocations: 3.041 MB / 0.5119 GB, free: 27.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00638/0.8825, allocations: 8.388 MB / 0.5201 GB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006218/0.8888, allocations: 2.012 MB / 0.5221 GB, free: 17.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=194): time 1.165e-05/0.8888, allocations: 0 / 0.5221 GB, free: 17.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=194): time 0.01766/0.9065, allocations: 6.131 MB / 0.528 GB, free: 14.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009599/0.9075, allocations: 1.447 MB / 0.5295 GB, free: 13.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/0.9097, allocations: 0.8345 MB / 0.5303 GB, free: 12.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004811/0.9102, allocations: 135.2 kB / 0.5304 GB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007608/0.911, allocations: 0.591 MB / 0.531 GB, free: 12.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008688/0.9118, allocations: 0.4963 MB / 0.5315 GB, free: 12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/0.9133, allocations: 0.5793 MB / 0.532 GB, free: 11.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.9134, allocations: 340.7 kB / 0.5324 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003087/0.9166, allocations: 1.159 MB / 0.5335 GB, free: 11.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003663/0.9202, allocations: 2.142 MB / 0.5356 GB, free: 9.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007832/0.9281, allocations: 4.828 MB / 0.5403 GB, free: 5.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/0.9283, allocations: 7.594 kB / 0.5403 GB, free: 5.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01042/0.9387, allocations: 4.611 MB / 0.5448 GB, free: 2.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006035/0.9394, allocations: 0.985 MB / 0.5458 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003982/0.9434, allocations: 1.978 MB / 0.5477 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.9447, allocations: 212.7 kB / 0.5479 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.9465, allocations: 330.8 kB / 0.5482 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.9477, allocations: 0.7162 MB / 0.5489 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002963/0.9507, allocations: 331 kB / 0.5492 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004809/0.9512, allocations: 148 kB / 0.5494 GB, free: 13.8 MB / 398.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 (323): * Single equations (assignments): 290 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.004372/0.9555, allocations: 1.908 MB / 0.5512 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009575/0.9565, allocations: 190.4 kB / 0.5514 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.9682, allocations: 4.654 MB / 0.556 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.743e-05/0.9683, allocations: 12 kB / 0.556 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.9683, allocations: 0 / 0.556 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/0.9683, allocations: 7.984 kB / 0.556 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/0.9853, allocations: 6.871 MB / 0.5627 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01056/0.9959, allocations: 4.449 MB / 0.567 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.9965, allocations: 75.88 kB / 0.5671 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005533/0.9971, allocations: 128.7 kB / 0.5672 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004803/0.9976, allocations: 110 kB / 0.5673 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000891/0.9985, allocations: 0.6849 MB / 0.568 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.9985, allocations: 0 / 0.568 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01759/1.016, allocations: 7.417 MB / 0.5752 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004831/1.017, allocations: 203.4 kB / 0.5754 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008215/1.018, allocations: 203.9 kB / 0.5756 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/1.019, allocations: 167.8 kB / 0.5758 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001146/1.02, allocations: 475.4 kB / 0.5763 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004365/1.021, allocations: 119.9 kB / 0.5764 GB, free: 1.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009953/1.022, allocations: 467 kB / 0.5768 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.022, allocations: 0 / 0.5768 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003827/1.026, allocations: 0.685 MB / 0.5775 GB, free: 300 kB / 414.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 (77): * Single equations (assignments): 49 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001636/1.027, allocations: 0.5963 MB / 0.5781 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01161/1.039, allocations: 6.059 MB / 0.584 GB, free: 9.281 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.039, allocations: 1.812 kB / 0.584 GB, free: 9.281 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01038/1.049, allocations: 6.972 MB / 0.5908 GB, free: 1.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/1.051, allocations: 236 kB / 0.591 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/1.063, allocations: 4.337 MB / 0.5952 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/1.064, allocations: 1.352 MB / 0.5966 GB, free: 12.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005674/1.065, allocations: 99.42 kB / 0.5967 GB, free: 11.92 MB / 446.1 MB Notification: Performance of SimCode: time 9.31e-07/1.065, allocations: 0 / 0.5967 GB, free: 11.92 MB / 446.1 MB Notification: Performance of Templates: time 0.318/1.383, allocations: 34.21 MB / 0.6301 GB, free: 9.562 MB / 478.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.ZeroArcWeight.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.ZeroArcWeight.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.ConTest.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.ZeroArcWeightAlgloop418.cpp:102:226: 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, tmp239, tmp240, tmp241, tmp242, tmp243, tmp244, (_system->_P3_P_fireIn_ && (!tmp245)), (tmp246 && (!tmp247)), tmp248); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgloop418.cpp:102:249: 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, tmp239, tmp240, tmp241, tmp242, tmp243, tmp244, (_system->_P3_P_fireIn_ && (!tmp245)), (tmp246 && (!tmp247)), tmp248); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgloop418.cpp:138:213: 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_), tmp250, tmp251, tmp252, tmp253, tmp254, tmp255, (tmp256 && (!tmp257)), (_system->_P2_P_fireOut_ && (!tmp258)), tmp259); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgloop418.cpp:138:253: 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_), tmp250, tmp251, tmp252, tmp253, tmp254, tmp255, (tmp256 && (!tmp257)), (_system->_P2_P_fireOut_ && (!tmp258)), tmp259); ^~~~~~~ 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.ZeroArcWeightAlgloop95.cpp:101:226: 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, tmp261, tmp262, tmp263, tmp264, tmp265, tmp266, (_system->_P3_P_fireIn_ && (!tmp267)), (tmp268 && (!tmp269)), tmp270); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgloop95.cpp:101:249: 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, tmp261, tmp262, tmp263, tmp264, tmp265, tmp266, (_system->_P3_P_fireIn_ && (!tmp267)), (tmp268 && (!tmp269)), tmp270); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgloop95.cpp:136:213: 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_), tmp272, tmp273, tmp274, tmp275, tmp276, tmp277, (tmp278 && (!tmp279)), (_system->_P2_P_fireOut_ && (!tmp280)), tmp281); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightAlgloop95.cpp:136:253: 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_), tmp272, tmp273, tmp274, tmp275, tmp276, tmp277, (tmp278 && (!tmp279)), (_system->_P2_P_fireOut_ && (!tmp280)), tmp281); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightInitialize.cpp:1393: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:1553:159: 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, tmp66, tmp67, tmp68, (tmp69 && (!tmp70)), (_P1_P_fireOut_ && (!tmp71)), tmp72); ^~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightInitialize.cpp:1553:189: 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, tmp66, tmp67, tmp68, (tmp69 && (!tmp70)), (_P1_P_fireOut_ && (!tmp71)), tmp72); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeight.cpp:1751:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp355,(!tmp356),tmp357); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeight.cpp:2172:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P2_P_enableOut_P_TAout_,(!tmp399),tmp400); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeight.cpp:2593:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp442),tmp443); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeight.cpp:2804:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp481,(!_functions->_OMC_LIT5),tmp482); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeight.cpp:2894:166: 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, tmp485, tmp486, tmp487, tmp488, tmp489, tmp490, (tmp491 && (!tmp492)), (_P1_P_fireOut_ && (!tmp493)), tmp494); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeight.cpp:2894:197: 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, tmp485, tmp486, tmp487, tmp488, tmp489, tmp490, (tmp491 && (!tmp492)), (_P1_P_fireOut_ && (!tmp493)), tmp494); ^~~~~~~ 17 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.ZeroArcWeightCalcHelperMain.o] Error 1