Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.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.ExtTest.TAwithWeaklyActivation,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.ExtTest.TAwithWeaklyActivation") translateModel(PNlib.Examples.ExtTest.TAwithWeaklyActivation,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.ExtTest.TAwithWeaklyActivation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001267, allocations: 92.16 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.001941/0.001941, allocations: 174.5 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.505/1.505, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1883/0.1883, allocations: 16.73 MB / 308.8 MB, free: 15.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004458, allocations: 8 kB / 374.1 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3402, allocations: 54.48 MB / 428.6 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TAwithWeaklyActivation): time 0.003561/0.3438, allocations: 3.523 MB / 432.1 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005593/0.3494, allocations: 3.204 MB / 435.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.3506, allocations: 9.906 kB / 435.3 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006928/0.3514, allocations: 262.4 kB / 435.5 MB, free: 36.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.3527, allocations: 243.1 kB / 435.8 MB, free: 36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.3553, allocations: 1.088 MB / 436.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003336/0.3587, allocations: 2.804 MB / 439.7 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008467/0.3596, allocations: 0.5451 MB / 440.2 MB, free: 34.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.3613, allocations: 1.041 MB / 441.3 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.3631, allocations: 0.8848 MB / 442.1 MB, free: 33.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007203/0.3638, allocations: 99.25 kB / 442.2 MB, free: 33.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.3652, allocations: 463 kB / 442.7 MB, free: 33.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007403/0.366, allocations: 461.7 kB / 443.1 MB, free: 32.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001697/0.3677, allocations: 0.9982 MB / 444.1 MB, free: 32.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.37, allocations: 2.069 MB / 446.2 MB, free: 31.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.37, allocations: 0 / 446.2 MB, free: 31.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.37, allocations: 0 / 446.2 MB, free: 31.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001153/0.3701, allocations: 4 kB / 446.2 MB, free: 31.77 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: 594 * Number of variables: 594 Notification: Performance of Generate backend data structure: time 0.004583/0.3747, allocations: 2.475 MB / 448.7 MB, free: 29.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3748, allocations: 9.312 kB / 448.7 MB, free: 29.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/0.377, allocations: 442.5 kB / 449.1 MB, free: 29.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.3788, allocations: 0.9399 MB / 450.1 MB, free: 29.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004627/0.3792, allocations: 0.5736 MB / 450.6 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000656/0.3799, allocations: 263.9 kB / 450.9 MB, free: 28.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005801/0.3857, allocations: 4.215 MB / 455.1 MB, free: 26.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.413e-05/0.3858, allocations: 3.938 kB / 455.1 MB, free: 26.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002448/0.386, allocations: 127.5 kB / 455.3 MB, free: 26.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002977/0.3863, allocations: 221.6 kB / 455.5 MB, free: 26.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004686/0.391, allocations: 3.105 MB / 458.6 MB, free: 25.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.4026, allocations: 8.547 MB / 467.1 MB, free: 20.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004406/0.4071, allocations: 4.006 MB / 471.1 MB, free: 18.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003983/0.4111, allocations: 3.546 MB / 474.7 MB, free: 16.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.4113, allocations: 129.8 kB / 474.8 MB, free: 16.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003432/0.4147, allocations: 2.215 MB / 477 MB, free: 15.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=189): time 3.206e-06/0.4147, allocations: 0 / 477 MB, free: 15.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=189): time 0.01129/0.426, allocations: 6.877 MB / 483.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005722/0.4266, allocations: 1.204 MB / 485.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.4282, allocations: 0.9435 MB / 486 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.4285, allocations: 118.1 kB / 486.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006066/0.4291, allocations: 0.7045 MB / 486.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005189/0.4296, allocations: 0.5128 MB / 487.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004515/0.4301, allocations: 372.7 kB / 487.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.809e-05/0.4301, allocations: 341.9 kB / 488.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.432, allocations: 1.293 MB / 489.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.4342, allocations: 2.174 MB / 491.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004357/0.4386, allocations: 4.482 MB / 496 MB, free: 15.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.241e-05/0.4387, allocations: 8 kB / 496 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.008068/0.4467, allocations: 5.007 MB / 0.4893 GB, free: 10.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005542/0.4473, allocations: 0.7975 MB / 0.4901 GB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.542e-05/0.4474, allocations: 28 kB / 0.4901 GB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/0.4492, allocations: 472.9 kB / 0.4905 GB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.4503, allocations: 323.2 kB / 0.4909 GB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.4514, allocations: 0.9441 MB / 0.4918 GB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.4533, allocations: 393 kB / 0.4922 GB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004278/0.4537, allocations: 148 kB / 0.4923 GB, free: 6.832 MB / 366.1 MB Warning: Assuming fixed start value for the following 36 variables: 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 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 276 ($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[2],$PRE.P1.enableOut.cumEnablingProb[2],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[2],$PRE.P1.enableOut.remTAout[2],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[2],$PRE.P1.enableOut.disTAout[2],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[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[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],T3.inPlaces[1].tokenInOut,T2.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition6,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,$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,$whenCondition1,T3.firingCon,T3.inPlaces[1].disTransition,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[2].disPlace,P1.outTransition[2].minTokensint,P1.outTransition[2].tint,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T2.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P2.reStart,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.vec[2],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,TA1.outTransition.arcType,T1.fire_,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedIn.vec[1],P2.delayPassedIn.vec[1],T2.activation.testValueInt[1],T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[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],T2.activation.disPlaceIn[1],T2.activation.minTokensInt[1],T2.activation.tIntIn[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P1.outTransition[1].arcWeightint,T3.fire_,T3.activation.NoTokens,T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.fed[1],T2.fire_,T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.normalArc[1],T2.activation.emptied[1],T2.activation.fed[1],T2.activation.arcType[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],TA1.testColor[3],TA1.testColor[2],TA1.testColor[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],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[2],P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.TAout[2],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[2],$PRE.P1.fireOut[2],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],$whenCondition4,$whenCondition3,$whenCondition2,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 276 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.003132/0.4569, allocations: 1.747 MB / 0.494 GB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007545/0.4576, allocations: 182.5 kB / 0.4942 GB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008785/0.4664, allocations: 5.52 MB / 0.4996 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/0.4665, allocations: 12 kB / 0.4996 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.4665, allocations: 4 kB / 0.4996 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/0.4665, allocations: 11.97 kB / 0.4996 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.4799, allocations: 8.013 MB / 0.5074 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.042e-05/0.48, allocations: 7.984 kB / 0.5074 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.4804, allocations: 95.86 kB / 0.5075 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/0.4817, allocations: 416.5 kB / 0.5079 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002827/0.482, allocations: 103.9 kB / 0.508 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.483, allocations: 0.9329 MB / 0.5089 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.483, allocations: 0 / 0.5089 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/0.4955, allocations: 8.094 MB / 0.5168 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/0.496, allocations: 215.1 kB / 0.517 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005901/0.4966, allocations: 183.9 kB / 0.5172 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.498, allocations: 223.9 kB / 0.5174 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/0.499, allocations: 0.5746 MB / 0.518 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003097/0.4993, allocations: 115.9 kB / 0.5181 GB, free: 11.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008233/0.5002, allocations: 0.5029 MB / 0.5186 GB, free: 11.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5002, allocations: 0 / 0.5186 GB, free: 11.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002767/0.503, allocations: 0.7523 MB / 0.5193 GB, free: 10.54 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: 141 ($whenCondition1,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,P2.disMarksInOut,$cse4[1],$cse5[1],$whenCondition6,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.disTAout[1],P1.enableOut.disTAout[2],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],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.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.vec[2],P1.emptying.anytrue,P1.emptying.numtrue,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,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T2.inPlaces[1].tokenInOut,T2.activation.arcType[1],T2.activation.fed[1],T2.activation.emptied[1],T2.activation.normalArc[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T2.fire_,T3.inPlaces[1].tokenInOut,T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.NoTokens,T3.fire_) * Number of discrete states: 117 (P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[1],P1.fireOut[2],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,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.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],$whenCondition4,P2.enableIn.TEin[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.NoTokens,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[2],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[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$whenCondition3,P1.enableOut.TEout[2],P1.enableOut.TEout[1],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[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition2,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange,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,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 62 * Array equations: 2 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001371/0.5043, allocations: 0.5455 MB / 0.5198 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008754/0.5131, allocations: 5.813 MB / 0.5255 GB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.5132, allocations: 0 / 0.5255 GB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008252/0.5214, allocations: 6.992 MB / 0.5324 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.5234, allocations: 237.4 kB / 0.5326 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.5338, allocations: 5.554 MB / 0.538 GB, free: 6.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/0.5353, allocations: 1.478 MB / 0.5394 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/0.5358, allocations: 103.4 kB / 0.5395 GB, free: 5.223 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.5358, allocations: 0 / 0.5395 GB, free: 5.223 MB / 414.1 MB Notification: Performance of Templates: time 0.05879/0.5946, allocations: 37.24 MB / 0.5759 GB, free: 15.85 MB / 462.1 MB make -j1 -f PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.makefile make -j1 -f PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.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.ExtTest.TAwithWeaklyActivationCalcHelperMain.o OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgloop416.cpp:134:300: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 2, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T2_P_speedSumIn_(1), _system->_T1_P_speedSumOut_(1), tmp275, tmp276, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp277, tmp278, (_system->_P1_P_fireIn_ && (!tmp279)), (_system->_P1_P_fireOut_ && (!tmp280)), tmp281); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgloop416.cpp:134:340: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 2, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T2_P_speedSumIn_(1), _system->_T1_P_speedSumOut_(1), tmp275, tmp276, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp277, tmp278, (_system->_P1_P_fireIn_ && (!tmp279)), (_system->_P1_P_fireOut_ && (!tmp280)), tmp281); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgloop416.cpp:185:249: 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, tmp285, tmp286, _system->_P2_P_prelimSpeedIn_, tmp287, tmp288, tmp289, (_system->_P2_P_fireIn_ && (!tmp290)), (tmp291 && (!tmp292)), tmp293); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgloop416.cpp:185:272: 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, tmp285, tmp286, _system->_P2_P_prelimSpeedIn_, tmp287, tmp288, tmp289, (_system->_P2_P_fireIn_ && (!tmp290)), (tmp291 && (!tmp292)), tmp293); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgloop128.cpp:133:300: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 2, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T2_P_speedSumIn_(1), _system->_T1_P_speedSumOut_(1), tmp311, tmp312, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp313, tmp314, (_system->_P1_P_fireIn_ && (!tmp315)), (_system->_P1_P_fireOut_ && (!tmp316)), tmp317); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgloop128.cpp:133:340: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 2, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T2_P_speedSumIn_(1), _system->_T1_P_speedSumOut_(1), tmp311, tmp312, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp313, tmp314, (_system->_P1_P_fireIn_ && (!tmp315)), (_system->_P1_P_fireOut_ && (!tmp316)), tmp317); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgloop128.cpp:175:249: 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, tmp320, tmp321, _system->_P2_P_prelimSpeedIn_, tmp322, tmp323, tmp324, (_system->_P2_P_fireIn_ && (!tmp325)), (tmp326 && (!tmp327)), tmp328); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgloop128.cpp:175:272: 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, tmp320, tmp321, _system->_P2_P_prelimSpeedIn_, tmp322, tmp323, tmp324, (_system->_P2_P_fireIn_ && (!tmp325)), (tmp326 && (!tmp327)), tmp328); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationInitialize.cpp:562:73: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_functions->_OMC_LIT2,(!_functions->_OMC_LIT2),tmp4); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationInitialize.cpp:2025:57: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp90,(!_functions->_OMC_LIT1),tmp91); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationInitialize.cpp:2060:57: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp93,(!_functions->_OMC_LIT1),tmp94); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationInitialize.cpp:5480:73: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_functions->_OMC_LIT2,(!_functions->_OMC_LIT2),tmp137); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.cpp:1924:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P2_P_enableIn_P_active_,(!tmp424),tmp425); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.cpp:2374:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp467),tmp468); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.cpp:2585:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp506,(!_functions->_OMC_LIT1),tmp507); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.cpp:2634:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp510,(!_functions->_OMC_LIT1),tmp511); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.cpp:3039:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_active_,(!tmp521),tmp522); ^~~~~~~ 17 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationCalcHelperMain.o] Error 1