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.001394/0.001394, allocations: 100.1 kB / 15.88 MB, free: 12 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.001659/0.001659, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.358/1.358, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1964/0.1964, allocations: 16.76 MB / 307.4 MB, free: 15.17 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 68.03 kB / 371.6 MB, free: 4.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3851, allocations: 53.45 MB / 425.1 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ZeroArcWeight): time 0.004356/0.3895, allocations: 3.566 MB / 428.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006851/0.3964, allocations: 3.429 MB / 432.1 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.398, allocations: 16.56 kB / 432.1 MB, free: 35.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006926/0.3987, allocations: 230.2 kB / 432.3 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.3999, allocations: 202.2 kB / 432.5 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.4032, allocations: 1.213 MB / 433.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003054/0.4063, allocations: 2.892 MB / 436.6 MB, free: 33.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006517/0.407, allocations: 414.5 kB / 437 MB, free: 33.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002193/0.4092, allocations: 1.063 MB / 438.1 MB, free: 32.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.4106, allocations: 0.8658 MB / 439 MB, free: 32.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.4109, allocations: 111.2 kB / 439.1 MB, free: 32.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.412, allocations: 478.5 kB / 439.5 MB, free: 32.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004001/0.4124, allocations: 405.9 kB / 439.9 MB, free: 32.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009355/0.4133, allocations: 0.8869 MB / 440.8 MB, free: 31.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.4151, allocations: 1.829 MB / 442.6 MB, free: 30.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4151, allocations: 0 / 442.6 MB, free: 30.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4151, allocations: 0 / 442.6 MB, free: 30.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.4151, allocations: 0 / 442.6 MB, free: 30.94 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.003415/0.4186, allocations: 2.911 MB / 445.6 MB, free: 28.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.4186, allocations: 9.25 kB / 445.6 MB, free: 28.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.4203, allocations: 386.3 kB / 445.9 MB, free: 28.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.4215, allocations: 0.8509 MB / 446.8 MB, free: 28.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002742/0.4218, allocations: 403.7 kB / 447.2 MB, free: 27.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003002/0.4221, allocations: 216.4 kB / 447.4 MB, free: 27.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005083/0.4272, allocations: 3.482 MB / 450.9 MB, free: 26.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.4272, allocations: 11.12 kB / 450.9 MB, free: 26.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002055/0.4274, allocations: 101.8 kB / 451 MB, free: 26.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/0.4277, allocations: 169.8 kB / 451.2 MB, free: 26.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004194/0.4319, allocations: 2.512 MB / 453.7 MB, free: 25.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.4426, allocations: 7.103 MB / 460.8 MB, free: 20.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004336/0.447, allocations: 3.269 MB / 464 MB, free: 18.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003995/0.451, allocations: 3.037 MB / 467.1 MB, free: 17.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.4512, allocations: 41.14 kB / 467.1 MB, free: 17.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003556/0.4548, allocations: 2.007 MB / 469.1 MB, free: 16.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=194): time 3.076e-06/0.4548, allocations: 0 / 469.1 MB, free: 16.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=194): time 0.01226/0.4671, allocations: 6.095 MB / 475.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001366/0.4685, allocations: 1.452 MB / 476.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.471, allocations: 0.8385 MB / 477.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005188/0.4715, allocations: 127.5 kB / 477.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009033/0.4725, allocations: 0.592 MB / 478.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001061/0.4735, allocations: 0.5006 MB / 478.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001613/0.4752, allocations: 0.5758 MB / 479.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4754, allocations: 341.9 kB / 479.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/0.4779, allocations: 1.161 MB / 480.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002877/0.4808, allocations: 2.134 MB / 482.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005576/0.4864, allocations: 4.83 MB / 487.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.832e-05/0.4865, allocations: 16 kB / 487.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=378) (initialization): time 0.006198/0.4927, allocations: 4.605 MB / 492.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007322/0.4934, allocations: 0.985 MB / 493.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003043/0.4965, allocations: 1.956 MB / 495.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007467/0.4973, allocations: 180.7 kB / 495.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009714/0.4982, allocations: 315.2 kB / 495.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008624/0.4991, allocations: 0.7043 MB / 496.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.5008, allocations: 329.1 kB / 496.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000257/0.5011, allocations: 152 kB / 497 MB, free: 10.74 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.004366/0.5055, allocations: 1.91 MB / 498.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006466/0.5061, allocations: 182.6 kB / 499.1 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007982/0.5141, allocations: 4.649 MB / 0.4919 GB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.067e-05/0.5142, allocations: 12 kB / 0.4919 GB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.5142, allocations: 0 / 0.4919 GB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.5142, allocations: 7.922 kB / 0.4919 GB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.5265, allocations: 6.864 MB / 0.4986 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007113/0.5337, allocations: 4.42 MB / 0.5029 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.5341, allocations: 71.83 kB / 0.503 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004284/0.5345, allocations: 120.7 kB / 0.5031 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003462/0.5349, allocations: 115.9 kB / 0.5032 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008047/0.5357, allocations: 0.6577 MB / 0.5039 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.5358, allocations: 0 / 0.5039 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/0.549, allocations: 7.396 MB / 0.5111 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/0.5495, allocations: 195.4 kB / 0.5113 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006824/0.5502, allocations: 207.9 kB / 0.5115 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.5515, allocations: 159.9 kB / 0.5116 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008859/0.5524, allocations: 476.1 kB / 0.5121 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003258/0.5527, allocations: 119.9 kB / 0.5122 GB, free: 14.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008316/0.5536, allocations: 463 kB / 0.5127 GB, free: 13.92 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5536, allocations: 0 / 0.5127 GB, free: 13.92 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003552/0.5571, allocations: 0.6863 MB / 0.5133 GB, free: 13.23 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.001546/0.5587, allocations: 0.588 MB / 0.5139 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008465/0.5672, allocations: 6.056 MB / 0.5198 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.5672, allocations: 3.938 kB / 0.5198 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007675/0.5749, allocations: 6.959 MB / 0.5266 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.5768, allocations: 231.3 kB / 0.5268 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0095/0.5864, allocations: 4.867 MB / 0.5316 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.5876, allocations: 1.345 MB / 0.5329 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/0.5881, allocations: 103.4 kB / 0.533 GB, free: 8.301 MB / 414.1 MB Notification: Performance of SimCode: time 2.945e-06/0.5881, allocations: 0 / 0.533 GB, free: 8.301 MB / 414.1 MB Notification: Performance of Templates: time 0.05718/0.6453, allocations: 33.61 MB / 0.5658 GB, free: 6.555 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