Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.Speed.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.Speed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.Speed") translateModel(PNlib.Examples.ConTest.Speed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.Speed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 92.62 kB / 16.02 MB, free: 80 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.001646/0.001646, allocations: 182 kB / 16.92 MB, free: 6.652 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.367/1.367, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.217/0.217, allocations: 16.73 MB / 308.8 MB, free: 15.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003282, allocations: 8 kB / 374.1 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.351, allocations: 54.47 MB / 428.6 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.Speed): time 0.00359/0.3546, allocations: 3.285 MB / 431.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005963/0.3606, allocations: 3.145 MB / 435 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.3618, allocations: 14.62 kB / 435 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.3623, allocations: 249 kB / 435.2 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007625/0.3631, allocations: 225.2 kB / 435.5 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.3655, allocations: 1.08 MB / 436.5 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002667/0.3681, allocations: 2.712 MB / 439.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000635/0.3688, allocations: 0.5119 MB / 439.8 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.3704, allocations: 0.999 MB / 440.8 MB, free: 33.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.3715, allocations: 0.8069 MB / 441.6 MB, free: 33.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.3717, allocations: 89.88 kB / 441.7 MB, free: 33.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009922/0.3727, allocations: 453 kB / 442.1 MB, free: 33.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003669/0.3731, allocations: 423.8 kB / 442.5 MB, free: 33.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008315/0.3739, allocations: 0.8993 MB / 443.4 MB, free: 32.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.3757, allocations: 1.888 MB / 445.3 MB, free: 32.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3757, allocations: 0 / 445.3 MB, free: 32.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.3757, allocations: 4 kB / 445.3 MB, free: 32.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.508e-05/0.3757, allocations: 0 / 445.3 MB, free: 32.15 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: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.00283/0.3785, allocations: 2.32 MB / 447.6 MB, free: 30.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.3786, allocations: 9.594 kB / 447.6 MB, free: 30.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.3803, allocations: 404.9 kB / 448 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.3815, allocations: 0.8816 MB / 448.9 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003828/0.3819, allocations: 0.4938 MB / 449.4 MB, free: 29.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/0.3823, allocations: 230.3 kB / 449.6 MB, free: 29.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005474/0.3878, allocations: 3.795 MB / 453.4 MB, free: 27.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.514e-05/0.3878, allocations: 3.938 kB / 453.4 MB, free: 27.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/0.3881, allocations: 116.9 kB / 453.5 MB, free: 27.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003349/0.3884, allocations: 207.5 kB / 453.7 MB, free: 27.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004018/0.3925, allocations: 2.773 MB / 456.5 MB, free: 26.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.403, allocations: 7.542 MB / 464.1 MB, free: 22.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004176/0.4073, allocations: 3.646 MB / 467.7 MB, free: 19.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003377/0.4107, allocations: 3.215 MB / 470.9 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.4109, allocations: 127.2 kB / 471 MB, free: 17.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003061/0.4139, allocations: 1.992 MB / 473 MB, free: 17.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=177): time 3.686e-06/0.414, allocations: 0 / 473 MB, free: 17.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=177): time 0.01415/0.4281, allocations: 6.181 MB / 479.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007823/0.4289, allocations: 1.162 MB / 480.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.4309, allocations: 0.8591 MB / 481.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003536/0.4313, allocations: 115.9 kB / 481.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007206/0.432, allocations: 0.6498 MB / 482 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006704/0.4327, allocations: 480.9 kB / 482.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006315/0.4333, allocations: 343.6 kB / 482.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4335, allocations: 338.2 kB / 483.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002964/0.4364, allocations: 1.093 MB / 484.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003168/0.4396, allocations: 1.97 MB / 486.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005899/0.4455, allocations: 4.237 MB / 490.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.509e-05/0.4456, allocations: 8 kB / 490.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.008832/0.4545, allocations: 4.524 MB / 495 MB, free: 68 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008638/0.4554, allocations: 0.7685 MB / 495.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0058/0.4612, allocations: 2.641 MB / 498.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002246/0.4635, allocations: 448.4 kB / 498.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.465, allocations: 291.3 kB / 499.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.4665, allocations: 0.9452 MB / 0.4883 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/0.4692, allocations: 337.2 kB / 0.4887 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004275/0.4696, allocations: 148 kB / 0.4888 GB, free: 10.26 MB / 366.1 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableOut.Index:DISCRETE(fixed = true protected = true ) 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.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.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.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 265 ($PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,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],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,$whenCondition6,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$PRE.P2.enableIn.disTAin[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[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.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[2],$PRE.P1.enableIn.cumEnablingProb[2],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],$PRE.P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[2],$PRE.P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],T3.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition5,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition4,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T3.outPlaces[1].disTransition,T3.outPlaces[1].enabledByInPlaces,P2.reStart,T3.firingCon,T3.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,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[2].disPlace,P1.inTransition[2].maxTokensint,P1.inTransition[2].tint,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.vec[2],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,T2.fire_,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],P1.delayPassedIn.vec[2],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntOut[1],P2.delayPassedIn.vec[1],T3.activation.disPlaceOut[1],T3.activation.maxTokensInt[1],T3.activation.tIntOut[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireIn[1],$PRE.P2.fireIn[1],T3.fire_,T3.activation.NoTokens,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.emptied[1],T3.activation.fed[1],T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.emptied[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[2],P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.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.enableIn.TEin[2],$PRE.P1.enableIn.TEin[2],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.active[2],P1.enableIn.active[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[2],$PRE.P1.fireIn[2],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 23 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,13)} Notification: Performance of prepare postOptimizeDAE: time 0.003773/0.4734, allocations: 1.677 MB / 0.4904 GB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007753/0.4742, allocations: 178.6 kB / 0.4906 GB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/0.4861, allocations: 5.119 MB / 0.4956 GB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-05/0.4862, allocations: 8 kB / 0.4956 GB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/0.4862, allocations: 7.984 kB / 0.4956 GB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.4862, allocations: 7.984 kB / 0.4956 GB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01797/0.5042, allocations: 7.322 MB / 0.5028 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01188/0.5162, allocations: 4.906 MB / 0.5076 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.5167, allocations: 67.91 kB / 0.5076 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.5183, allocations: 396 kB / 0.508 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004616/0.5188, allocations: 99.95 kB / 0.5081 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.5203, allocations: 0.9167 MB / 0.509 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.5203, allocations: 11.88 kB / 0.509 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01784/0.5381, allocations: 7.542 MB / 0.5164 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.5387, allocations: 203.3 kB / 0.5166 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007348/0.5394, allocations: 179.9 kB / 0.5167 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.541, allocations: 183.9 kB / 0.5169 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009743/0.542, allocations: 388.5 kB / 0.5173 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003493/0.5423, allocations: 115.9 kB / 0.5174 GB, free: 12.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009511/0.5433, allocations: 471 kB / 0.5178 GB, free: 11.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5433, allocations: 0 / 0.5178 GB, free: 11.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003699/0.547, allocations: 0.69 MB / 0.5185 GB, free: 11.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 133 (P2.disMarksInOut,$cse4[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.disMarksInOut,P1.fireIn[1],P1.fireIn[2],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.TEin[2],P1.enableIn.disTAin[1],P1.enableIn.disTAin[2],P1.enableIn.remTAin[1],P1.enableIn.remTAin[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[2],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableOut.TAout[1],P1.enableOut.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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.vec[2],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.inPlaces[1].tokenInOut,T3.activation.fed[1],T3.activation.emptied[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.NoTokens,T3.fire_,P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.disTAin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,$whenCondition6,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],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) * Number of discrete states: 117 (P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$whenCondition6,P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[2],P1.fireIn[1],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.NoTokens,P2.enableIn.TEin_[1],P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition3,P2.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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],$whenCondition2,P1.enableOut.TEout[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 52 * Array equations: 1 * Algorithm blocks: 19 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001604/0.5486, allocations: 0.529 MB / 0.519 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01049/0.5591, allocations: 5.29 MB / 0.5242 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.5592, allocations: 0.875 kB / 0.5242 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01084/0.5701, allocations: 6.614 MB / 0.5307 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.572, allocations: 225.5 kB / 0.5309 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.5847, allocations: 4.919 MB / 0.5357 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001885/0.5867, allocations: 1.402 MB / 0.537 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006273/0.5873, allocations: 107.3 kB / 0.5371 GB, free: 7.402 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5873, allocations: 0 / 0.5371 GB, free: 7.402 MB / 414.1 MB Notification: Performance of Templates: time 0.06586/0.6532, allocations: 33.96 MB / 0.5703 GB, free: 5.352 MB / 446.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.Speed.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.Speed.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.SpeedCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop393.cpp:126:300: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(2, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T3_P_speedSumIn_(1), _system->_T1_P_speedSumOut_(1), tmp259, tmp260, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp261, tmp262, (_system->_P1_P_fireIn_ && (!tmp263)), (_system->_P1_P_fireOut_ && (!tmp264)), tmp265); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop393.cpp:126:340: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(2, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T3_P_speedSumIn_(1), _system->_T1_P_speedSumOut_(1), tmp259, tmp260, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp261, tmp262, (_system->_P1_P_fireIn_ && (!tmp263)), (_system->_P1_P_fireOut_ && (!tmp264)), tmp265); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop393.cpp:178:250: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp269, tmp270, _system->_P1_P_prelimSpeedOut_, tmp271, tmp272, tmp273, (_system->_P2_P_fireIn_ && (!tmp274)), (tmp275 && (!tmp276)), tmp277); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop393.cpp:178:273: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp269, tmp270, _system->_P1_P_prelimSpeedOut_, tmp271, tmp272, tmp273, (_system->_P2_P_fireIn_ && (!tmp274)), (tmp275 && (!tmp276)), tmp277); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop113.cpp:125:300: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(2, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T3_P_speedSumIn_(1), _system->_T1_P_speedSumOut_(1), tmp293, tmp294, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp295, tmp296, (_system->_P1_P_fireIn_ && (!tmp297)), (_system->_P1_P_fireOut_ && (!tmp298)), tmp299); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop113.cpp:125:340: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(2, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T3_P_speedSumIn_(1), _system->_T1_P_speedSumOut_(1), tmp293, tmp294, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp295, tmp296, (_system->_P1_P_fireIn_ && (!tmp297)), (_system->_P1_P_fireOut_ && (!tmp298)), tmp299); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop113.cpp:174:250: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp303, tmp304, _system->_P1_P_prelimSpeedOut_, tmp305, tmp306, tmp307, (_system->_P2_P_fireIn_ && (!tmp308)), (tmp309 && (!tmp310)), tmp311); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedAlgloop113.cpp:174:273: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp303, tmp304, _system->_P1_P_prelimSpeedOut_, tmp305, tmp306, tmp307, (_system->_P2_P_fireIn_ && (!tmp308)), (tmp309 && (!tmp310)), tmp311); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.SpeedInitialize.cpp:480:73: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_functions->_OMC_LIT2,(!_functions->_OMC_LIT2),tmp1); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedInitialize.cpp:493:73: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_functions->_OMC_LIT2,(!_functions->_OMC_LIT2),tmp3); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedInitialize.cpp:1717:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT1),tmp77); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedInitialize.cpp:5045:73: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_functions->_OMC_LIT2,(!_functions->_OMC_LIT2),tmp123); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.SpeedInitialize.cpp:5202:73: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_functions->_OMC_LIT2,(!_functions->_OMC_LIT2),tmp125); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.Speed.cpp:1869:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp401,(!tmp402),tmp403); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.Speed.cpp:2290:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp445),tmp446); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.Speed.cpp:2499:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT1),tmp484); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.Speed.cpp:2939:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp496,(!tmp497),tmp498); ^~~~~~~ 17 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.o] Error 1