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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.0796/0.0796, allocations: 16.97 MB / 320.3 MB, free: 13.12 MB / 254.1 MB " [Timeout remaining time 180] 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=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: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 66.67 kB / 447.2 MB, free: 44.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1195, allocations: 56.42 MB / 0.4919 GB, free: 18.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TAwithWeaklyActivation): time 0.004217/0.1237, allocations: 3.743 MB / 0.4955 GB, free: 15.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005362/0.1291, allocations: 2.769 MB / 0.4982 GB, free: 13.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.1304, allocations: 19.81 kB / 0.4982 GB, free: 13.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.1311, allocations: 338.9 kB / 0.4986 GB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.1321, allocations: 396.5 kB / 0.4989 GB, free: 12.63 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.1347, allocations: 1.225 MB / 0.5001 GB, free: 11.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003974/0.1387, allocations: 3.242 MB / 0.5033 GB, free: 9.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000623/0.1393, allocations: 381 kB / 0.5037 GB, free: 9.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.1407, allocations: 1.376 MB / 0.505 GB, free: 8.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.1419, allocations: 1.112 MB / 0.5061 GB, free: 6.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003588/0.1423, allocations: 268 kB / 0.5064 GB, free: 6.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.1434, allocations: 0.6985 MB / 0.507 GB, free: 5.992 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004256/0.1439, allocations: 0.5563 MB / 0.5076 GB, free: 5.434 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008614/0.1447, allocations: 1.143 MB / 0.5087 GB, free: 4.285 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.1474, allocations: 3.067 MB / 0.5117 GB, free: 1.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1474, allocations: 0 / 0.5117 GB, free: 1.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1474, allocations: 0 / 0.5117 GB, free: 1.207 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.07e-05/0.1474, allocations: 3.938 kB / 0.5117 GB, free: 1.203 MB / 366.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.004114/0.1515, allocations: 2.998 MB / 0.5146 GB, free: 14.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.1516, allocations: 15.89 kB / 0.5146 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.1535, allocations: 435.1 kB / 0.5151 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.1551, allocations: 0.9536 MB / 0.516 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005951/0.1557, allocations: 0.5739 MB / 0.5165 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004121/0.1561, allocations: 260 kB / 0.5168 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00746/0.1635, allocations: 4.194 MB / 0.5209 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.666e-05/0.1636, allocations: 4 kB / 0.5209 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003029/0.1639, allocations: 131.9 kB / 0.521 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003628/0.1642, allocations: 219.5 kB / 0.5212 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00586/0.1701, allocations: 3.075 MB / 0.5242 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/0.1835, allocations: 8.518 MB / 0.5325 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003839/0.1873, allocations: 2.131 MB / 0.5346 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002851/0.1901, allocations: 1.682 MB / 0.5363 GB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002928/0.1931, allocations: 3.162 MB / 0.5394 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003705/0.1968, allocations: 2.195 MB / 0.5415 GB, free: 1.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=189): time 3.566e-06/0.1968, allocations: 4 kB / 0.5415 GB, free: 1.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=189): time 0.01376/0.2105, allocations: 7.079 MB / 0.5484 GB, free: 9.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001019/0.2116, allocations: 1.204 MB / 0.5496 GB, free: 8.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.2131, allocations: 0.9487 MB / 0.5505 GB, free: 7.562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002886/0.2134, allocations: 117.7 kB / 0.5506 GB, free: 7.441 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007388/0.2141, allocations: 0.7243 MB / 0.5513 GB, free: 6.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006441/0.2148, allocations: 0.5312 MB / 0.5519 GB, free: 6.172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009765/0.2157, allocations: 0.612 MB / 0.5525 GB, free: 5.555 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.2159, allocations: 341.9 kB / 0.5528 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/0.2182, allocations: 1.281 MB / 0.554 GB, free: 3.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003178/0.2214, allocations: 2.158 MB / 0.5561 GB, free: 1.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006037/0.2274, allocations: 4.462 MB / 0.5605 GB, free: 12.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.713e-05/0.2274, allocations: 8 kB / 0.5605 GB, free: 12.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.008406/0.2359, allocations: 4.993 MB / 0.5654 GB, free: 7.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000681/0.2365, allocations: 0.7944 MB / 0.5662 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005138/0.2417, allocations: 3.104 MB / 0.5692 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/0.2435, allocations: 470 kB / 0.5696 GB, free: 2.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.2446, allocations: 307.2 kB / 0.5699 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.2459, allocations: 1.042 MB / 0.5709 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.2477, allocations: 369.9 kB / 0.5713 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/0.2479, allocations: 144 kB / 0.5714 GB, free: 0.6875 MB / 430.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.002689/0.2506, allocations: 1.752 MB / 0.5731 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005103/0.2511, allocations: 191.2 kB / 0.5733 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00891/0.26, allocations: 5.492 MB / 0.5787 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/0.2601, allocations: 12 kB / 0.5787 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2601, allocations: 3.828 kB / 0.5787 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.2601, allocations: 3.984 kB / 0.5787 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/0.2729, allocations: 8.049 MB / 0.5866 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.008364/0.2813, allocations: 5.284 MB / 0.5917 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/0.2817, allocations: 91.77 kB / 0.5918 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.2829, allocations: 369.4 kB / 0.5922 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002876/0.2831, allocations: 103.9 kB / 0.5923 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.2844, allocations: 1.014 MB / 0.5933 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2844, allocations: 0 / 0.5933 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/0.2979, allocations: 8.146 MB / 0.6012 GB, free: 1.484 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003592/0.2982, allocations: 219.8 kB / 0.6014 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005072/0.2987, allocations: 179.9 kB / 0.6016 GB, free: 1.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.3, allocations: 199.9 kB / 0.6018 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/0.301, allocations: 0.5708 MB / 0.6023 GB, free: 316 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00027/0.3013, allocations: 123.9 kB / 0.6025 GB, free: 192 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007533/0.302, allocations: 0.503 MB / 0.603 GB, free: 15.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.302, allocations: 4 kB / 0.603 GB, free: 15.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002521/0.3046, allocations: 0.7564 MB / 0.6037 GB, free: 14.92 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.001273/0.3058, allocations: 0.5437 MB / 0.6042 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008467/0.3143, allocations: 5.186 MB / 0.6093 GB, free: 8.895 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.3143, allocations: 0.8125 kB / 0.6093 GB, free: 8.895 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00546/0.3198, allocations: 3.446 MB / 0.6127 GB, free: 5.207 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.3212, allocations: 245.1 kB / 0.6129 GB, free: 4.969 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2685/0.5896, allocations: 4.968 MB / 0.6177 GB, free: 118 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.5911, allocations: 1.484 MB / 0.6192 GB, free: 117.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/0.5915, allocations: 107.1 kB / 0.6193 GB, free: 117.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5915, allocations: 0 / 0.6193 GB, free: 117.3 MB / 478.1 MB Notification: Performance of Templates: time 0.05112/0.6426, allocations: 38.46 MB / 0.6569 GB, free: 91.7 MB / 478.1 MB " [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 -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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_, tmp276, tmp277, tmp278, tmp279, tmp280, tmp281, (_system->_P1_P_fireIn_ && (!tmp282)), (_system->_P1_P_fireOut_ && (!tmp283)), tmp284); ^~~~~~~ ./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_, tmp276, tmp277, tmp278, tmp279, tmp280, tmp281, (_system->_P1_P_fireIn_ && (!tmp282)), (_system->_P1_P_fireOut_ && (!tmp283)), tmp284); ^~~~~~~ ./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, tmp287, tmp288, tmp289, tmp290, tmp291, tmp292, (_system->_P2_P_fireIn_ && (!tmp293)), (tmp294 && (!tmp295)), tmp296); ^~~~~~~ ./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, tmp287, tmp288, tmp289, tmp290, tmp291, tmp292, (_system->_P2_P_fireIn_ && (!tmp293)), (tmp294 && (!tmp295)), tmp296); ^~~~~~~ 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_, tmp318, tmp319, tmp320, tmp321, tmp322, tmp323, (_system->_P1_P_fireIn_ && (!tmp324)), (_system->_P1_P_fireOut_ && (!tmp325)), tmp326); ^~~~~~~ ./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_, tmp318, tmp319, tmp320, tmp321, tmp322, tmp323, (_system->_P1_P_fireIn_ && (!tmp324)), (_system->_P1_P_fireOut_ && (!tmp325)), tmp326); ^~~~~~~ ./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, tmp329, tmp330, tmp331, tmp332, tmp333, tmp334, (_system->_P2_P_fireIn_ && (!tmp335)), (tmp336 && (!tmp337)), tmp338); ^~~~~~~ ./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, tmp329, tmp330, tmp331, tmp332, tmp333, tmp334, (_system->_P2_P_fireIn_ && (!tmp335)), (tmp336 && (!tmp337)), tmp338); ^~~~~~~ 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_,(!tmp434),tmp435); ^~~~~~~ ./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_,(!tmp477),tmp478); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.cpp:2584: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:2633:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp520,(!_functions->_OMC_LIT1),tmp521); ^~~~~~~~~~~~~~~~~~~~~~ ./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_,(!tmp531),tmp532); ^~~~~~~ 15 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivationCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.970806729979813] Failed to read output from testmodel.py, exit status != 0: 0.8578190410044044 0.65872838 0.5092429700000001 Calling exit ...