Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.PCtoTC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ConTest.PCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTC") translateModel(PNlib.Examples.ConTest.PCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007943/0.0007942, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008155/0.0008158, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.319/1.319, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1981/0.1981, allocations: 16.74 MB / 308.8 MB, free: 15.67 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 8 kB / 374.1 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2955, allocations: 54.47 MB / 428.6 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTC): time 0.002126/0.2977, allocations: 1.731 MB / 430.3 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003522/0.3012, allocations: 1.902 MB / 432.2 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005228/0.3018, allocations: 6.719 kB / 432.2 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.3022, allocations: 106.7 kB / 432.3 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.3026, allocations: 96.11 kB / 432.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.3042, allocations: 0.5915 MB / 433 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.3054, allocations: 1.147 MB / 434.1 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.3057, allocations: 164.6 kB / 434.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004867/0.3061, allocations: 431.9 kB / 434.7 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004302/0.3066, allocations: 328.6 kB / 435 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.66e-05/0.3067, allocations: 34.78 kB / 435.1 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007902/0.3075, allocations: 414.5 kB / 435.5 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.3077, allocations: 140.1 kB / 435.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.308, allocations: 361.7 kB / 436 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008746/0.3089, allocations: 0.8247 MB / 436.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3089, allocations: 3.047 kB / 436.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3089, allocations: 0 / 436.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.309, allocations: 0 / 436.8 MB, free: 36.23 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001381/0.3103, allocations: 1.172 MB / 438 MB, free: 35.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3104, allocations: 12.81 kB / 438 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006542/0.3111, allocations: 147.5 kB / 438.1 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005227/0.3116, allocations: 428.2 kB / 438.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.3117, allocations: 150.2 kB / 438.7 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.3119, allocations: 87.05 kB / 438.8 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.3137, allocations: 1.333 MB / 440.1 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.3137, allocations: 4 kB / 440.1 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.571e-05/0.3138, allocations: 39.98 kB / 440.1 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.927e-05/0.3139, allocations: 64.52 kB / 440.2 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.3154, allocations: 0.9478 MB / 441.2 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003354/0.3187, allocations: 2.929 MB / 444.1 MB, free: 31.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.3202, allocations: 1.201 MB / 445.3 MB, free: 31.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.3212, allocations: 1.075 MB / 446.4 MB, free: 30.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.3214, allocations: 97.55 kB / 446.5 MB, free: 30.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009662/0.3224, allocations: 0.8016 MB / 447.3 MB, free: 30.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=70): time 2.264e-06/0.3224, allocations: 0 / 447.3 MB, free: 30.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=70): time 0.003556/0.326, allocations: 2.474 MB / 449.7 MB, free: 28.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002473/0.3262, allocations: 0.555 MB / 450.3 MB, free: 28.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/0.3268, allocations: 411.6 kB / 450.7 MB, free: 28.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/0.3269, allocations: 61.11 kB / 450.7 MB, free: 28.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.3271, allocations: 277.4 kB / 451 MB, free: 27.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.3273, allocations: 185.6 kB / 451.2 MB, free: 27.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.3274, allocations: 136.5 kB / 451.3 MB, free: 27.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3275, allocations: 367.4 kB / 451.7 MB, free: 27.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006521/0.3282, allocations: 478.6 kB / 452.2 MB, free: 27.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008535/0.329, allocations: 0.8135 MB / 453 MB, free: 26.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.3307, allocations: 1.787 MB / 454.8 MB, free: 25.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.3307, allocations: 3.062 kB / 454.8 MB, free: 25.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002442/0.3331, allocations: 1.94 MB / 456.7 MB, free: 24.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.3333, allocations: 379.2 kB / 457.1 MB, free: 23.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/0.3334, allocations: 16.56 kB / 457.1 MB, free: 23.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002966/0.3337, allocations: 72.58 kB / 457.2 MB, free: 23.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.334, allocations: 121.3 kB / 457.3 MB, free: 23.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003278/0.3343, allocations: 0.5955 MB / 457.9 MB, free: 23.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/0.3349, allocations: 143.8 kB / 458 MB, free: 23.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.52e-05/0.335, allocations: 55.12 kB / 458.1 MB, free: 23.22 MB / 350.1 MB Warning: Assuming fixed start value for the following 18 variables: 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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.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: 48 * Number of states: 0 () * Number of discrete variables: 108 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition3,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.delayPassedOut.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$PRE.P1.fireOut[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 11 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008859/0.3359, allocations: 0.7633 MB / 458.8 MB, free: 22.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.3361, allocations: 75.06 kB / 458.9 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/0.339, allocations: 1.931 MB / 460.8 MB, free: 21.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.3391, allocations: 8.609 kB / 460.8 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3391, allocations: 0 / 460.8 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3391, allocations: 0.9375 kB / 460.8 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003707/0.3428, allocations: 2.678 MB / 463.5 MB, free: 20.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.3428, allocations: 1.969 kB / 463.5 MB, free: 20.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.343, allocations: 32.64 kB / 463.6 MB, free: 20.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002385/0.3433, allocations: 65.19 kB / 463.6 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.3434, allocations: 39.66 kB / 463.7 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003125/0.3437, allocations: 0.5744 MB / 464.2 MB, free: 19.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3437, allocations: 0 / 464.2 MB, free: 19.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004502/0.3482, allocations: 2.974 MB / 467.2 MB, free: 18.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.3484, allocations: 125.7 kB / 467.3 MB, free: 18.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/0.3486, allocations: 78.31 kB / 467.4 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/0.3491, allocations: 80.38 kB / 467.5 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005399/0.3497, allocations: 251.9 kB / 467.7 MB, free: 18.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/0.3499, allocations: 49.11 kB / 467.8 MB, free: 18.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002976/0.3502, allocations: 239.9 kB / 468 MB, free: 18.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3502, allocations: 0 / 468 MB, free: 18.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001286/0.3515, allocations: 329.6 kB / 468.3 MB, free: 18.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (P1.t_) * Number of discrete variables: 57 ($whenCondition1,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$cse2[1],$whenCondition3,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.NoTokens,T1.fire_) * Number of discrete states: 51 (P1.disMarksInOut,P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.disMarkChange,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 19 * Array equations: 1 * Algorithm blocks: 9 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.3525, allocations: 378.6 kB / 468.7 MB, free: 17.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003888/0.3564, allocations: 2.195 MB / 470.9 MB, free: 16.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.3564, allocations: 1.312 kB / 470.9 MB, free: 16.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003005/0.3595, allocations: 2.437 MB / 473.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000877/0.3604, allocations: 94.62 kB / 473.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.3643, allocations: 1.755 MB / 475.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.365, allocations: 0.9246 MB / 476.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.3652, allocations: 53.86 kB / 476.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3652, allocations: 0 / 476.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of Templates: time 0.02977/0.395, allocations: 14.48 MB / 490.6 MB, free: 4.977 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTC.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTC.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgloop152.cpp:92:237: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp152, tmp153, tmp154, _system->_P1_P_prelimSpeedOut_, tmp155, tmp156, (tmp157 && (!tmp158)), (_system->_P1_P_fireOut_ && (!tmp159)), tmp160); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgloop152.cpp:92:277: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp152, tmp153, tmp154, _system->_P1_P_prelimSpeedOut_, tmp155, tmp156, (tmp157 && (!tmp158)), (_system->_P1_P_fireOut_ && (!tmp159)), tmp160); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgloop38.cpp:91:237: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp162, tmp163, tmp164, _system->_P1_P_prelimSpeedOut_, tmp165, tmp166, (tmp167 && (!tmp168)), (_system->_P1_P_fireOut_ && (!tmp169)), tmp170); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgloop38.cpp:91:277: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp162, tmp163, tmp164, _system->_P1_P_prelimSpeedOut_, tmp165, tmp166, (tmp167 && (!tmp168)), (_system->_P1_P_fireOut_ && (!tmp169)), tmp170); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCInitialize.cpp:644:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT5),tmp19); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTC.cpp:886:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp202),tmp203); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTC.cpp:1095:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT5),tmp241); ^~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.o] Error 1