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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 104.3 kB / 19.7 MB, free: 2.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 221 kB / 22.99 MB, free: 4.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.08055/0.08055, allocations: 16.95 MB / 330.1 MB, free: 2.066 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ExtTest.TAwithWeaklyActivation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 67.91 kB / 460.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1133, allocations: 57.62 MB / 0.5064 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TAwithWeaklyActivation): time 0.004846/0.1181, allocations: 3.315 MB / 0.5096 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005248/0.1234, allocations: 2.707 MB / 0.5123 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005666/0.124, allocations: 23.88 kB / 0.5123 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006873/0.1246, allocations: 345.3 kB / 0.5126 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008973/0.1255, allocations: 401.5 kB / 0.513 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1982/0.3238, allocations: 1.286 MB / 0.5143 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003614/0.3274, allocations: 3.303 MB / 0.5175 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004382/0.3278, allocations: 257.2 kB / 0.5177 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.3291, allocations: 1.41 MB / 0.5191 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.3306, allocations: 1.078 MB / 0.5202 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004424/0.331, allocations: 269.3 kB / 0.5204 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.3325, allocations: 0.7684 MB / 0.5212 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006121/0.3331, allocations: 0.5584 MB / 0.5217 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.3343, allocations: 0.9628 MB / 0.5227 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003474/0.3378, allocations: 3.085 MB / 0.5257 GB, free: 7.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3378, allocations: 1.375 kB / 0.5257 GB, free: 7.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3378, allocations: 1.094 kB / 0.5257 GB, free: 7.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.94e-05/0.3378, allocations: 0 / 0.5257 GB, free: 7.996 MB / 382.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.004463/0.3423, allocations: 3.34 MB / 0.5289 GB, free: 5.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3424, allocations: 9.531 kB / 0.529 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.3441, allocations: 444.5 kB / 0.5294 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.3457, allocations: 0.8931 MB / 0.5303 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/0.3462, allocations: 0.9614 MB / 0.5312 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/0.3465, allocations: 259.4 kB / 0.5314 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006877/0.3534, allocations: 5.498 MB / 0.5368 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.437e-05/0.3534, allocations: 1.375 kB / 0.5368 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002516/0.3537, allocations: 128.1 kB / 0.5369 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003836/0.354, allocations: 221 kB / 0.5371 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006078/0.3601, allocations: 3.955 MB / 0.541 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01174/0.3719, allocations: 7.351 MB / 0.5482 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004219/0.3761, allocations: 2.812 MB / 0.5509 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/0.3794, allocations: 2.537 MB / 0.5534 GB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.3805, allocations: 395.8 kB / 0.5538 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003753/0.3843, allocations: 3.058 MB / 0.5568 GB, free: 3.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=189): time 3.116e-06/0.3843, allocations: 0 / 0.5568 GB, free: 3.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=189): time 0.01388/0.3981, allocations: 8.901 MB / 0.5655 GB, free: 11.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008773/0.399, allocations: 1.18 MB / 0.5666 GB, free: 10.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.4003, allocations: 0.8219 MB / 0.5674 GB, free: 9.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002517/0.4006, allocations: 121.7 kB / 0.5675 GB, free: 9.457 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006692/0.4013, allocations: 0.7434 MB / 0.5683 GB, free: 8.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005616/0.4018, allocations: 0.5312 MB / 0.5688 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008737/0.4027, allocations: 0.6241 MB / 0.5694 GB, free: 7.543 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4029, allocations: 334.5 kB / 0.5697 GB, free: 7.211 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002823/0.4057, allocations: 2.054 MB / 0.5717 GB, free: 5.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004025/0.4097, allocations: 3.16 MB / 0.5748 GB, free: 1.277 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006381/0.4161, allocations: 4.5 MB / 0.5792 GB, free: 12.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.216e-05/0.4161, allocations: 8 kB / 0.5792 GB, free: 12.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.008874/0.425, allocations: 5.818 MB / 0.5849 GB, free: 6.199 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006171/0.4256, allocations: 0.7763 MB / 0.5856 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005349/0.431, allocations: 3.618 MB / 0.5892 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/0.4328, allocations: 473 kB / 0.5896 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.4338, allocations: 307.2 kB / 0.5899 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.4352, allocations: 1.048 MB / 0.5909 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.437, allocations: 354 kB / 0.5913 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000376/0.4374, allocations: 140 kB / 0.5914 GB, free: 15.18 MB / 446.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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.002997/0.4404, allocations: 1.734 MB / 0.5931 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007343/0.4411, allocations: 171.3 kB / 0.5933 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/0.4512, allocations: 6.488 MB / 0.5996 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/0.4512, allocations: 11.94 kB / 0.5996 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4512, allocations: 0 / 0.5996 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.4513, allocations: 7.984 kB / 0.5996 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.465, allocations: 8.325 MB / 0.6078 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.009097/0.4741, allocations: 6.252 MB / 0.6139 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.4744, allocations: 87.81 kB / 0.6139 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.4755, allocations: 366 kB / 0.6143 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002448/0.4757, allocations: 107.9 kB / 0.6144 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.4769, allocations: 1.009 MB / 0.6154 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4769, allocations: 4 kB / 0.6154 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/0.4912, allocations: 10.12 MB / 0.6253 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.4915, allocations: 130.8 kB / 0.6254 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005228/0.492, allocations: 184 kB / 0.6256 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.4933, allocations: 203.7 kB / 0.6258 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009947/0.4943, allocations: 0.5785 MB / 0.6263 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002933/0.4946, allocations: 127.9 kB / 0.6264 GB, free: 10.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005419/0.4951, allocations: 398.8 kB / 0.6268 GB, free: 9.711 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4951, allocations: 0 / 0.6268 GB, free: 9.711 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00233/0.4974, allocations: 0.7719 MB / 0.6276 GB, free: 8.938 MB / 478.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,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/0.4987, allocations: 0.549 MB / 0.6281 GB, free: 8.395 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008925/0.5076, allocations: 6.853 MB / 0.6348 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5076, allocations: 0 / 0.6348 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005342/0.5129, allocations: 4.281 MB / 0.639 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009815/0.5139, allocations: 207.2 kB / 0.6392 GB, free: 12.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009516/0.5234, allocations: 5.834 MB / 0.6449 GB, free: 6.152 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.5246, allocations: 0.9029 MB / 0.6458 GB, free: 5.211 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003153/0.5249, allocations: 103.4 kB / 0.6459 GB, free: 5.113 MB / 494.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5249, allocations: 4 kB / 0.6459 GB, free: 5.109 MB / 494.1 MB Notification: Performance of Templates: time 0.05287/0.5778, allocations: 38.09 MB / 0.6831 GB, free: 14.86 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -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.TAwithWeaklyActivationAlgloop424.cpp:144:267: 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->_T3_P_inPlaces1_P_speedSum_, _system->_T1_P_outPlaces1_P_speedSum_, tmp272, tmp273, tmp274, tmp275, tmp276, tmp277, (_system->_P1_P_fireIn_ && (!tmp278)), (_system->_P1_P_fireOut_ && (!tmp279)), tmp280); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgloop424.cpp:144:307: 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->_T3_P_inPlaces1_P_speedSum_, _system->_T1_P_outPlaces1_P_speedSum_, tmp272, tmp273, tmp274, tmp275, tmp276, tmp277, (_system->_P1_P_fireIn_ && (!tmp278)), (_system->_P1_P_fireOut_ && (!tmp279)), tmp280); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgloop424.cpp:194:226: 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, tmp283, tmp284, tmp285, tmp286, tmp287, tmp288, (_system->_P2_P_fireIn_ && (!tmp289)), (tmp290 && (!tmp291)), tmp292); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgloop424.cpp:194: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, tmp283, tmp284, tmp285, tmp286, tmp287, tmp288, (_system->_P2_P_fireIn_ && (!tmp289)), (tmp290 && (!tmp291)), tmp292); ^~~~~~~ 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.TAwithWeaklyActivationAlgloop132.cpp:143:267: 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->_T3_P_inPlaces1_P_speedSum_, _system->_T1_P_outPlaces1_P_speedSum_, tmp314, tmp315, tmp316, tmp317, tmp318, tmp319, (_system->_P1_P_fireIn_ && (!tmp320)), (_system->_P1_P_fireOut_ && (!tmp321)), tmp322); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgloop132.cpp:143:307: 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->_T3_P_inPlaces1_P_speedSum_, _system->_T1_P_outPlaces1_P_speedSum_, tmp314, tmp315, tmp316, tmp317, tmp318, tmp319, (_system->_P1_P_fireIn_ && (!tmp320)), (_system->_P1_P_fireOut_ && (!tmp321)), tmp322); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgloop132.cpp:190:226: 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, tmp325, tmp326, tmp327, tmp328, tmp329, tmp330, (_system->_P2_P_fireIn_ && (!tmp331)), (tmp332 && (!tmp333)), tmp334); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationAlgloop132.cpp:190: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, tmp325, tmp326, tmp327, tmp328, tmp329, tmp330, (_system->_P2_P_fireIn_ && (!tmp331)), (tmp332 && (!tmp333)), tmp334); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationInitialize.cpp:2023:57: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp89,(!_functions->_OMC_LIT1),tmp90); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationInitialize.cpp:2082:57: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp93,(!_functions->_OMC_LIT1),tmp94); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.cpp:1923:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P2_P_enableIn_P_active_,(!tmp430),tmp431); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.cpp:2373:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp473),tmp474); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.cpp:2584:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp512,(!_functions->_OMC_LIT1),tmp513); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.cpp:2633:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp516,(!_functions->_OMC_LIT1),tmp517); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.cpp:3038:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_active_,(!tmp527),tmp528); ^~~~~~~ 15 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.4104762696661055] Failed to read output from testmodel.py, exit status != 0: 0.5871266275644302 0.6013227240000001 0.26044677 Calling exit ...