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.005152/0.005152, allocations: 100.2 kB / 15.87 MB, free: 5.867 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.00131/0.00131, allocations: 192 kB / 16.79 MB, free: 5.812 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.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1929/0.1929, allocations: 16.77 MB / 307.4 MB, free: 15.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.91 kB / 371.6 MB, free: 3.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3087, allocations: 53.46 MB / 425.1 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.Speed): time 0.003781/0.3125, allocations: 3.703 MB / 428.8 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004979/0.3175, allocations: 3.181 MB / 432 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009661/0.3185, allocations: 9.719 kB / 432 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005903/0.3192, allocations: 253.2 kB / 432.2 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006838/0.3198, allocations: 217.8 kB / 432.4 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.3221, allocations: 1.083 MB / 433.5 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002615/0.3247, allocations: 2.72 MB / 436.2 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005496/0.3253, allocations: 0.5074 MB / 436.7 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.3266, allocations: 1.063 MB / 437.8 MB, free: 33.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009265/0.3276, allocations: 0.8968 MB / 438.7 MB, free: 32.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000272/0.3278, allocations: 119.3 kB / 438.8 MB, free: 32.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000874/0.3287, allocations: 483.4 kB / 439.3 MB, free: 32.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003881/0.3291, allocations: 462.5 kB / 439.7 MB, free: 32.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007979/0.3299, allocations: 0.9317 MB / 440.7 MB, free: 31.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.3315, allocations: 1.931 MB / 442.6 MB, free: 31.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3315, allocations: 0 / 442.6 MB, free: 31.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3315, allocations: 0 / 442.6 MB, free: 31.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.027e-05/0.3316, allocations: 4 kB / 442.6 MB, free: 31.3 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.003463/0.335, allocations: 2.758 MB / 445.4 MB, free: 29.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3351, allocations: 6.281 kB / 445.4 MB, free: 29.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.3371, allocations: 401.5 kB / 445.8 MB, free: 29.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.3383, allocations: 0.8723 MB / 446.6 MB, free: 28.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002979/0.3386, allocations: 0.4965 MB / 447.1 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002852/0.3389, allocations: 230.3 kB / 447.4 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005354/0.3442, allocations: 3.793 MB / 451.2 MB, free: 26.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.835e-05/0.3443, allocations: 0 / 451.2 MB, free: 26.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.3446, allocations: 114.6 kB / 451.3 MB, free: 26.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003192/0.3449, allocations: 204.3 kB / 451.5 MB, free: 26.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004006/0.3489, allocations: 2.766 MB / 454.2 MB, free: 25.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01078/0.3597, allocations: 7.537 MB / 461.8 MB, free: 20.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0041/0.3638, allocations: 3.624 MB / 465.4 MB, free: 18.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003264/0.3671, allocations: 3.208 MB / 468.6 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.3674, allocations: 121.2 kB / 468.7 MB, free: 16.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003006/0.3704, allocations: 1.979 MB / 470.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=177): time 3.206e-06/0.3704, allocations: 4 kB / 470.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=177): time 0.01026/0.3807, allocations: 6.152 MB / 476.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005599/0.3813, allocations: 1.159 MB / 478 MB, free: 12.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.3827, allocations: 0.86 MB / 478.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002746/0.383, allocations: 111.2 kB / 479 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005334/0.3835, allocations: 0.6556 MB / 479.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005007/0.384, allocations: 483.3 kB / 480.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009339/0.385, allocations: 0.565 MB / 480.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3851, allocations: 343.7 kB / 481 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.3871, allocations: 1.083 MB / 482.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/0.3894, allocations: 1.955 MB / 484 MB, free: 8.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003615/0.393, allocations: 4.233 MB / 488.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.332e-05/0.3931, allocations: 4 kB / 488.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.005972/0.3991, allocations: 4.497 MB / 492.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005511/0.3997, allocations: 0.7724 MB / 493.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003804/0.4035, allocations: 2.632 MB / 496.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.4051, allocations: 394.5 kB / 496.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009993/0.4061, allocations: 287.3 kB / 496.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.4072, allocations: 0.9424 MB / 497.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.4088, allocations: 321.3 kB / 498.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.409, allocations: 136 kB / 498.2 MB, free: 9.746 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.002553/0.4116, allocations: 1.689 MB / 499.9 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004805/0.4121, allocations: 170.6 kB / 0.4884 GB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008049/0.4201, allocations: 5.095 MB / 0.4934 GB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.73e-05/0.4202, allocations: 8 kB / 0.4934 GB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.4202, allocations: 4 kB / 0.4934 GB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.4202, allocations: 7.984 kB / 0.4934 GB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.4311, allocations: 7.303 MB / 0.5005 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007632/0.4388, allocations: 4.886 MB / 0.5053 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.4391, allocations: 63.94 kB / 0.5053 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001121/0.4403, allocations: 352.5 kB / 0.5057 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002578/0.4406, allocations: 99.94 kB / 0.5058 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.4416, allocations: 0.92 MB / 0.5067 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.4416, allocations: 0 / 0.5067 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/0.4535, allocations: 7.512 MB / 0.514 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.4539, allocations: 195.3 kB / 0.5142 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006027/0.4545, allocations: 183.9 kB / 0.5144 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.4556, allocations: 163.9 kB / 0.5145 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007407/0.4564, allocations: 380.6 kB / 0.5149 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002853/0.4567, allocations: 119.9 kB / 0.515 GB, free: 11.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007328/0.4575, allocations: 475 kB / 0.5154 GB, free: 11.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4575, allocations: 0 / 0.5154 GB, free: 11.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002467/0.4599, allocations: 0.6861 MB / 0.5161 GB, free: 10.75 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.001599/0.4615, allocations: 0.5343 MB / 0.5166 GB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007541/0.4691, allocations: 5.267 MB / 0.5218 GB, free: 4.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.4691, allocations: 4 kB / 0.5218 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006476/0.4756, allocations: 6.601 MB / 0.5282 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.477, allocations: 215.2 kB / 0.5284 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008513/0.4855, allocations: 4.936 MB / 0.5333 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.4869, allocations: 1.402 MB / 0.5346 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.4873, allocations: 91.42 kB / 0.5347 GB, free: 7.102 MB / 414.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4873, allocations: 7.938 kB / 0.5347 GB, free: 7.094 MB / 414.1 MB Notification: Performance of Templates: time 0.05654/0.5439, allocations: 34.12 MB / 0.568 GB, free: 4.883 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), tmp255, tmp256, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp257, tmp258, (_system->_P1_P_fireIn_ && (!tmp259)), (_system->_P1_P_fireOut_ && (!tmp260)), tmp261); ^~~~~~~ ./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), tmp255, tmp256, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp257, tmp258, (_system->_P1_P_fireIn_ && (!tmp259)), (_system->_P1_P_fireOut_ && (!tmp260)), tmp261); ^~~~~~~ ./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, tmp265, tmp266, _system->_P1_P_prelimSpeedOut_, tmp267, tmp268, tmp269, (_system->_P2_P_fireIn_ && (!tmp270)), (tmp271 && (!tmp272)), tmp273); ^~~~~~~ ./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, tmp265, tmp266, _system->_P1_P_prelimSpeedOut_, tmp267, tmp268, tmp269, (_system->_P2_P_fireIn_ && (!tmp270)), (tmp271 && (!tmp272)), tmp273); ^~~~~~~ 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), tmp289, tmp290, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp291, tmp292, (_system->_P1_P_fireIn_ && (!tmp293)), (_system->_P1_P_fireOut_ && (!tmp294)), tmp295); ^~~~~~~ ./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), tmp289, tmp290, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp291, tmp292, (_system->_P1_P_fireIn_ && (!tmp293)), (_system->_P1_P_fireOut_ && (!tmp294)), tmp295); ^~~~~~~ ./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, tmp299, tmp300, _system->_P1_P_prelimSpeedOut_, tmp301, tmp302, tmp303, (_system->_P2_P_fireIn_ && (!tmp304)), (tmp305 && (!tmp306)), tmp307); ^~~~~~~ ./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, tmp299, tmp300, _system->_P1_P_prelimSpeedOut_, tmp301, tmp302, tmp303, (_system->_P2_P_fireIn_ && (!tmp304)), (tmp305 && (!tmp306)), tmp307); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.SpeedInitialize.cpp:1713:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT1),tmp75); ^~~~~~~~~~~~~~~~~~~~~~ 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(tmp397,(!tmp398),tmp399); ^~~~~~~ ./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_,(!tmp441),tmp442); ^~~~~~~ ./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),tmp480); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.Speed.cpp:2939:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp492,(!tmp493),tmp494); ^~~~~~~ 13 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.o] Error 1