Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TATest.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.TATest,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.TATest") translateModel(PNlib.Examples.ExtTest.TATest,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.TATest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005933/0.005933, allocations: 100.8 kB / 15.87 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.451/1.451, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2148/0.2148, allocations: 16.77 MB / 307.4 MB, free: 15.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001934, allocations: 63.91 kB / 371.6 MB, free: 3.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2956, allocations: 53.45 MB / 425.1 MB, free: 39.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TATest): time 0.00463/0.3003, allocations: 4.179 MB / 429.3 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00531/0.3057, allocations: 3.291 MB / 432.6 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.3068, allocations: 16.22 kB / 432.6 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.3075, allocations: 267.7 kB / 432.8 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008863/0.3084, allocations: 265.7 kB / 433.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.3107, allocations: 1.099 MB / 434.2 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002663/0.3134, allocations: 2.992 MB / 437.2 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007913/0.3142, allocations: 0.7915 MB / 438 MB, free: 32.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00177/0.316, allocations: 1.226 MB / 439.2 MB, free: 32.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.3175, allocations: 1.18 MB / 440.4 MB, free: 31.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005993/0.3181, allocations: 175.6 kB / 440.6 MB, free: 31.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.3194, allocations: 0.5308 MB / 441.1 MB, free: 31.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005931/0.32, allocations: 0.6151 MB / 441.7 MB, free: 31.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.3212, allocations: 1.271 MB / 443 MB, free: 30.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.3235, allocations: 2.571 MB / 445.5 MB, free: 29.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3235, allocations: 3.25 kB / 445.5 MB, free: 29.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3235, allocations: 3.938 kB / 445.6 MB, free: 29.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.152e-05/0.3236, allocations: 0 / 445.6 MB, free: 29.6 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: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.004591/0.3282, allocations: 3.378 MB / 448.9 MB, free: 27.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3283, allocations: 9.75 kB / 448.9 MB, free: 27.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/0.3304, allocations: 0.5213 MB / 449.5 MB, free: 27.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.3319, allocations: 1.129 MB / 450.6 MB, free: 26.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004527/0.3324, allocations: 0.7602 MB / 451.3 MB, free: 25.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003762/0.3327, allocations: 320.8 kB / 451.7 MB, free: 25.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007355/0.3401, allocations: 5.252 MB / 456.9 MB, free: 23.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.495e-05/0.3402, allocations: 3.938 kB / 456.9 MB, free: 23.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002975/0.3405, allocations: 153.1 kB / 457.1 MB, free: 23.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003921/0.3409, allocations: 280 kB / 457.3 MB, free: 23.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00722/0.3481, allocations: 3.892 MB / 461.2 MB, free: 22.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/0.3636, allocations: 10.25 MB / 471.5 MB, free: 16.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005746/0.3694, allocations: 5.086 MB / 476.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004543/0.374, allocations: 4.497 MB / 481.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.3742, allocations: 121.6 kB / 481.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003924/0.3781, allocations: 2.675 MB / 483.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=212): time 7.824e-06/0.3782, allocations: 0 / 483.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=212): time 0.01448/0.3927, allocations: 8.42 MB / 492.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006222/0.3933, allocations: 1.298 MB / 493.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.3953, allocations: 1.12 MB / 494.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003018/0.3957, allocations: 133.7 kB / 494.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000988/0.3967, allocations: 0.8656 MB / 495.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007501/0.3974, allocations: 0.575 MB / 496.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/0.3987, allocations: 0.72 MB / 497 MB, free: 12.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3989, allocations: 345.9 kB / 497.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/0.4015, allocations: 1.555 MB / 498.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003542/0.4051, allocations: 2.56 MB / 0.4897 GB, free: 7.383 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006333/0.4114, allocations: 4.921 MB / 0.4945 GB, free: 1.801 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.416e-05/0.4115, allocations: 11.94 kB / 0.4945 GB, free: 1.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009552/0.4211, allocations: 5.494 MB / 0.4999 GB, free: 12.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006178/0.4217, allocations: 0.8081 MB / 0.5007 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-05/0.4218, allocations: 39.98 kB / 0.5007 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/0.4239, allocations: 0.5209 MB / 0.5012 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.4251, allocations: 355.1 kB / 0.5015 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.4265, allocations: 1.062 MB / 0.5026 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.4285, allocations: 416.5 kB / 0.503 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005191/0.429, allocations: 160 kB / 0.5031 GB, free: 8.625 MB / 382.1 MB Warning: Assuming fixed start value for the following 36 variables: 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.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.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.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 314 ($PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,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],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],$PRE.P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$PRE.P2.enableOut.disTAout[1],$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,$PRE.P2.disMarksInOut,T1.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,P1.outTransition[2].tokenInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition6,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,T3.firingCon,T3.inPlaces[2].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,T3.inPlaces[1].disTransition,P2.outTransition[1].disPlace,P2.outTransition[1].minTokensint,P2.outTransition[1].tint,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[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.disMarksOut.vec[1],P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,TA2.outTransition.arcType,T2.fire_,TA1.outTransition.arcType,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedIn.vec[1],P2.delayPassedOut.vec[1],P2.delayPassedIn.vec[1],T1.activation.testValueInt[1],T3.activation.testValueInt[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntIn[2],T3.activation.normalArc[2],T3.activation.testValueInt[2],T3.activation.arcType[2],T3.activation.disPlaceIn[2],T3.activation.minTokensInt[2],T3.activation.tIntIn[2],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P2.outTransition[1].arcWeightint,P1.outTransition[1].arcWeightint,T3.fire_,T3.activation.NoTokens,T3.activation.weaklyInputActiveVec[2],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.normalArc[1],T3.activation.fed[2],T3.activation.fed[1],T3.activation.arcType[1],T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.emptied[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.normalArc[1],T1.activation.emptied[1],T1.activation.fed[1],T1.activation.arcType[1],TA2.testColor[3],TA2.testColor[2],TA2.testColor[1],TA1.testColor[3],TA1.testColor[2],TA1.testColor[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.emptying.vec[1],P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.TEout[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout_[1],P2.enableOut.TAout[1],P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireOut[1],$PRE.P2.fireOut[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,$whenCondition1,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,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 (343): * Single equations (assignments): 319 * 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 {(6,12)} Notification: Performance of prepare postOptimizeDAE: time 0.00349/0.4325, allocations: 1.939 MB / 0.505 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009468/0.4335, allocations: 210.3 kB / 0.5052 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/0.4447, allocations: 6.631 MB / 0.5117 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.569e-05/0.4447, allocations: 15.98 kB / 0.5117 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.4448, allocations: 0 / 0.5117 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.4448, allocations: 7.984 kB / 0.5117 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.4591, allocations: 8.98 MB / 0.5205 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.456e-05/0.4592, allocations: 7.984 kB / 0.5205 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.4596, allocations: 99.81 kB / 0.5206 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/0.4609, allocations: 483.8 kB / 0.5211 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003838/0.4613, allocations: 111.9 kB / 0.5212 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.4625, allocations: 1.034 MB / 0.5222 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4626, allocations: 4 kB / 0.5222 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/0.4784, allocations: 9.621 MB / 0.5316 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.4788, allocations: 235.1 kB / 0.5318 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008468/0.4797, allocations: 199.9 kB / 0.532 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/0.4813, allocations: 231.7 kB / 0.5322 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001223/0.4826, allocations: 0.6956 MB / 0.5329 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004457/0.483, allocations: 139.9 kB / 0.533 GB, free: 9.379 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009273/0.484, allocations: 0.5927 MB / 0.5336 GB, free: 8.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.484, allocations: 8 kB / 0.5336 GB, free: 8.777 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002749/0.4867, allocations: 0.8689 MB / 0.5345 GB, free: 7.906 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 158 ($cse5[1],$cse6[1],$cse6[2],$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,P1.outTransition[2].tokenInOut,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.disMarksInOut,P2.fireIn[1],P2.fireOut[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.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.disTAout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],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.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.vec[1],P2.emptying.anytrue,P2.emptying.numtrue,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],TA2.testColor[1],TA2.testColor[2],TA2.testColor[3],T1.inPlaces[1].tokenInOut,T1.activation.arcType[1],T1.activation.fed[1],T1.activation.emptied[1],T1.activation.normalArc[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.inPlaces[1].tokenInOut,T3.activation.arcType[1],T3.activation.fed[1],T3.activation.fed[2],T3.activation.normalArc[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyInputActiveVec[2],T3.activation.NoTokens,T3.fire_) * Number of discrete states: 125 (P2.disMarksInOut,P1.disMarksInOut,P2.fireIn[1],P2.fireOut[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,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P2.enableIn.TEin_[1],P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition3,P2.enableIn.TEin[1],T3.activation.weaklyInputActiveVec[2],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.NoTokens,P2.enableOut.TEout_[1],P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$whenCondition4,P2.enableOut.TEout[1],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],$whenCondition2,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],$whenCondition1,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 75 * 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 {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001376/0.4881, allocations: 0.5789 MB / 0.535 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009299/0.4975, allocations: 6.802 MB / 0.5417 GB, free: 252 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.4975, allocations: 0 / 0.5417 GB, free: 252 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008512/0.506, allocations: 8.348 MB / 0.5498 GB, free: 7.652 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.5079, allocations: 267.2 kB / 0.5501 GB, free: 7.395 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.5199, allocations: 6.867 MB / 0.5568 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001772/0.5217, allocations: 1.648 MB / 0.5584 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/0.5221, allocations: 111.4 kB / 0.5585 GB, free: 14.69 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5222, allocations: 0 / 0.5585 GB, free: 14.69 MB / 446.1 MB Notification: Performance of Templates: time 0.2279/0.75, allocations: 44.25 MB / 0.6017 GB, free: 137 MB / 462.1 MB make -j1 -f PNlib_PNlib.Examples.ExtTest.TATest.makefile make -j1 -f PNlib_PNlib.Examples.ExtTest.TATest.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.TATestCalcHelperMain.o OMCppPNlib_PNlib.Examples.ExtTest.TATestCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ExtTest.TATestCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop483.cpp:125: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->_T1_P_speedSumIn_(1), _system->_T2_P_speedSumOut_(1), tmp294, tmp295, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp296, tmp297, (_system->_P1_P_fireIn_ && (!tmp298)), (_system->_P1_P_fireOut_ && (!tmp299)), tmp300); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop483.cpp:125: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->_T1_P_speedSumIn_(1), _system->_T2_P_speedSumOut_(1), tmp294, tmp295, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp296, tmp297, (_system->_P1_P_fireIn_ && (!tmp298)), (_system->_P1_P_fireOut_ && (!tmp299)), tmp300); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop483.cpp:161:352: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_T3_P_speedSumIn_(1), _system->_T1_P_speedSumOut_(1), tmp304, _system->_P2_P_maxSpeedOut_, _system->_P2_P_prelimSpeedIn_, _system->_P2_P_prelimSpeedOut_, tmp305, _system->_P2_P_enableOut_P_arcWeight_, (_system->_P2_P_fireIn_ && (!tmp306)), (_system->_P2_P_fireOut_ && (!tmp307)), tmp308); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop483.cpp:161:392: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_T3_P_speedSumIn_(1), _system->_T1_P_speedSumOut_(1), tmp304, _system->_P2_P_maxSpeedOut_, _system->_P2_P_prelimSpeedIn_, _system->_P2_P_prelimSpeedOut_, tmp305, _system->_P2_P_enableOut_P_arcWeight_, (_system->_P2_P_fireIn_ && (!tmp306)), (_system->_P2_P_fireOut_ && (!tmp307)), tmp308); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ExtTest.TATestCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop160.cpp:124: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->_T1_P_speedSumIn_(1), _system->_T2_P_speedSumOut_(1), tmp329, tmp330, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp331, tmp332, (_system->_P1_P_fireIn_ && (!tmp333)), (_system->_P1_P_fireOut_ && (!tmp334)), tmp335); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop160.cpp:124: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->_T1_P_speedSumIn_(1), _system->_T2_P_speedSumOut_(1), tmp329, tmp330, _system->_P1_P_prelimSpeedIn_, _system->_P1_P_prelimSpeedOut_, tmp331, tmp332, (_system->_P1_P_fireIn_ && (!tmp333)), (_system->_P1_P_fireOut_ && (!tmp334)), tmp335); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop160.cpp:158:352: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_T3_P_speedSumIn_(1), _system->_T1_P_speedSumOut_(1), tmp339, _system->_P2_P_maxSpeedOut_, _system->_P2_P_prelimSpeedIn_, _system->_P2_P_prelimSpeedOut_, tmp340, _system->_P2_P_enableOut_P_arcWeight_, (_system->_P2_P_fireIn_ && (!tmp341)), (_system->_P2_P_fireOut_ && (!tmp342)), tmp343); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATestAlgloop160.cpp:158:392: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_T3_P_speedSumIn_(1), _system->_T1_P_speedSumOut_(1), tmp339, _system->_P2_P_maxSpeedOut_, _system->_P2_P_prelimSpeedIn_, _system->_P2_P_prelimSpeedOut_, tmp340, _system->_P2_P_enableOut_P_arcWeight_, (_system->_P2_P_fireIn_ && (!tmp341)), (_system->_P2_P_fireOut_ && (!tmp342)), tmp343); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ExtTest.TATestCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ExtTest.TATestInitialize.cpp:2567:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp117,(!_functions->_OMC_LIT1),tmp118); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATestInitialize.cpp:2592:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp120,(!_functions->_OMC_LIT2),tmp121); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ExtTest.TATestCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ExtTest.TATest.cpp:2147:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P2_P_enableOut_P_TAout_,(!tmp464),tmp465); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATest.cpp:2568:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P2_P_enableIn_P_active_,(!tmp507),tmp508); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATest.cpp:3018:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp550),tmp551); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATest.cpp:3229:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp589,(!_functions->_OMC_LIT1),tmp590); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATest.cpp:3287:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp593,(!_functions->_OMC_LIT2),tmp594); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.TATest.cpp:3701:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_active_,(!tmp604),tmp605); ^~~~~~~ 16 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ExtTest.TATestCalcHelperMain.o] Error 1