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.002045/0.002045, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.002414/0.002415, allocations: 185.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.23/2.23, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.08583/0.08583, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 64.14 kB / 427 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1731, allocations: 53.48 MB / 480.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ZeroArcWeight): time 0.007732/0.1809, allocations: 3.431 MB / 483.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009638/0.1905, allocations: 2.838 MB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.1927, allocations: 23.88 kB / 486.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.1943, allocations: 293.7 kB / 487 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.1965, allocations: 273.8 kB / 487.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005591/0.2021, allocations: 1.356 MB / 488.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008139/0.2103, allocations: 3.648 MB / 492.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.2117, allocations: 424.5 kB / 492.7 MB, free: 8.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00337/0.2151, allocations: 1.321 MB / 494.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002787/0.2179, allocations: 0.9214 MB / 495 MB, free: 6.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009342/0.2189, allocations: 227.9 kB / 495.2 MB, free: 6.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.2208, allocations: 0.6322 MB / 495.8 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008709/0.2217, allocations: 434.5 kB / 496.3 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002075/0.2238, allocations: 0.9916 MB / 497.2 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005197/0.229, allocations: 2.579 MB / 499.8 MB, free: 1.551 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.2291, allocations: 0 / 499.8 MB, free: 1.551 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2291, allocations: 4 kB / 499.8 MB, free: 1.547 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.348e-05/0.2292, allocations: 0 / 499.8 MB, free: 1.547 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.00723/0.2364, allocations: 2.901 MB / 0.4909 GB, free: 14.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.2365, allocations: 12.03 kB / 0.491 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.2395, allocations: 386.5 kB / 0.4913 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.2419, allocations: 0.8452 MB / 0.4921 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005983/0.2426, allocations: 410.2 kB / 0.4925 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006319/0.2432, allocations: 212 kB / 0.4927 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/0.2538, allocations: 3.483 MB / 0.4961 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.966e-05/0.2539, allocations: 4 kB / 0.4961 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000361/0.2543, allocations: 108 kB / 0.4962 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003992/0.2547, allocations: 170.6 kB / 0.4964 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007889/0.2626, allocations: 2.51 MB / 0.4989 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.588/0.8507, allocations: 7.053 MB / 0.5058 GB, free: 30.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009169/0.8599, allocations: 3.268 MB / 0.5089 GB, free: 29.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006595/0.8666, allocations: 3.045 MB / 0.5119 GB, free: 27.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007176/0.8738, allocations: 8.384 MB / 0.5201 GB, free: 18.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006284/0.8802, allocations: 2.016 MB / 0.5221 GB, free: 17.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=194): time 7.524e-06/0.8802, allocations: 0 / 0.5221 GB, free: 17.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=194): time 0.02131/0.9016, allocations: 6.118 MB / 0.528 GB, free: 14.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001062/0.9027, allocations: 1.455 MB / 0.5295 GB, free: 13.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/0.9049, allocations: 0.8349 MB / 0.5303 GB, free: 12.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005411/0.9055, allocations: 127.4 kB / 0.5304 GB, free: 12.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007633/0.9062, allocations: 0.5912 MB / 0.531 GB, free: 12.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009127/0.9072, allocations: 0.5011 MB / 0.5315 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/0.9086, allocations: 0.5759 MB / 0.532 GB, free: 11.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.9088, allocations: 349.7 kB / 0.5324 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003509/0.9123, allocations: 1.152 MB / 0.5335 GB, free: 11.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003922/0.9163, allocations: 2.138 MB / 0.5356 GB, free: 9.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00815/0.9244, allocations: 4.833 MB / 0.5403 GB, free: 5.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-05/0.9246, allocations: 11.69 kB / 0.5403 GB, free: 5.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=378) (initialization): time 0.0109/0.9355, allocations: 4.601 MB / 0.5448 GB, free: 2.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005694/0.9361, allocations: 0.9852 MB / 0.5458 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004646/0.9408, allocations: 1.983 MB / 0.5477 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.9423, allocations: 207.3 kB / 0.5479 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/0.9443, allocations: 327.2 kB / 0.5482 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.9455, allocations: 0.7247 MB / 0.5489 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/0.9487, allocations: 329.1 kB / 0.5492 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007137/0.9495, allocations: 150.9 kB / 0.5494 GB, free: 13.81 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.004202/0.9537, allocations: 1.907 MB / 0.5512 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008738/0.9546, allocations: 186.4 kB / 0.5514 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.9676, allocations: 4.65 MB / 0.556 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.003e-05/0.9677, allocations: 12 kB / 0.556 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/0.9678, allocations: 3.984 kB / 0.556 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.9678, allocations: 3.984 kB / 0.556 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/0.9872, allocations: 6.876 MB / 0.5627 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01255/0.9998, allocations: 4.436 MB / 0.567 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006494/1, allocations: 86.83 kB / 0.5671 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005827/1.001, allocations: 120.7 kB / 0.5672 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000599/1.002, allocations: 111.7 kB / 0.5673 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/1.003, allocations: 0.6888 MB / 0.568 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.003, allocations: 2.438 kB / 0.568 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02163/1.024, allocations: 7.421 MB / 0.5752 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005094/1.025, allocations: 195.3 kB / 0.5754 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/1.026, allocations: 212 kB / 0.5756 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002471/1.029, allocations: 167.8 kB / 0.5758 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001565/1.031, allocations: 472.1 kB / 0.5762 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007288/1.031, allocations: 115.9 kB / 0.5764 GB, free: 1.434 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001271/1.033, allocations: 463 kB / 0.5768 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.182e-06/1.033, allocations: 4 kB / 0.5768 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004817/1.037, allocations: 0.6891 MB / 0.5775 GB, free: 304 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.002541/1.04, allocations: 0.5985 MB / 0.5781 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01458/1.055, allocations: 6.059 MB / 0.584 GB, free: 9.285 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.055, allocations: 0 / 0.584 GB, free: 9.285 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01353/1.068, allocations: 6.969 MB / 0.5908 GB, free: 1.988 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/1.071, allocations: 240.2 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.01474/1.086, allocations: 4.332 MB / 0.5952 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001959/1.088, allocations: 1.352 MB / 0.5966 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006805/1.088, allocations: 107.4 kB / 0.5967 GB, free: 11.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.034e-06/1.088, allocations: 0 / 0.5967 GB, free: 11.91 MB / 446.1 MB Notification: Performance of Templates: time 0.09489/1.183, allocations: 33.98 MB / 0.6298 GB, free: 9.793 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