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.008952/0.008952, allocations: 100.8 kB / 15.87 MB, free: 6.332 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.001721/0.001721, allocations: 198.9 kB / 16.79 MB, free: 6.258 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.347/1.347, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1874/0.1874, allocations: 16.75 MB / 307.4 MB, free: 15.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.89 kB / 371.6 MB, free: 3.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2647, allocations: 53.45 MB / 425.1 MB, free: 39.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTC): time 0.002613/0.2673, allocations: 2.098 MB / 427.2 MB, free: 38.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.27, allocations: 1.935 MB / 429.1 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.2702, allocations: 3.188 kB / 429.1 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.2706, allocations: 107.8 kB / 429.2 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.2709, allocations: 98.5 kB / 429.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.2721, allocations: 0.5888 MB / 429.9 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007497/0.2728, allocations: 1.152 MB / 431.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.273, allocations: 170.1 kB / 431.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.2734, allocations: 443.6 kB / 431.7 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.2737, allocations: 347.3 kB / 432 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.053e-05/0.2738, allocations: 45.27 kB / 432 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.2743, allocations: 418.5 kB / 432.4 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.2745, allocations: 161.7 kB / 432.6 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.2748, allocations: 352.2 kB / 432.9 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006173/0.2754, allocations: 0.8445 MB / 433.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2754, allocations: 4 kB / 433.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2754, allocations: 0 / 433.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.2755, allocations: 0 / 433.8 MB, free: 36.07 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.001335/0.2768, allocations: 1.327 MB / 435.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2768, allocations: 8.562 kB / 435.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006201/0.2775, allocations: 146.2 kB / 435.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.2779, allocations: 432 kB / 435.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.278, allocations: 147.4 kB / 435.8 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.2782, allocations: 86.36 kB / 435.9 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.2798, allocations: 1.329 MB / 437.3 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.2798, allocations: 7.938 kB / 437.3 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.2799, allocations: 40.42 kB / 437.3 MB, free: 33.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.869e-05/0.28, allocations: 62.16 kB / 437.4 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.2814, allocations: 0.9326 MB / 438.3 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/0.2842, allocations: 2.938 MB / 441.2 MB, free: 31.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.2854, allocations: 1.188 MB / 442.4 MB, free: 30.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009095/0.2863, allocations: 1.076 MB / 443.5 MB, free: 30.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.2865, allocations: 93.38 kB / 443.6 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000935/0.2874, allocations: 0.7794 MB / 444.4 MB, free: 29.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=70): time 2.164e-06/0.2874, allocations: 0 / 444.4 MB, free: 29.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=70): time 0.003241/0.2907, allocations: 2.458 MB / 446.8 MB, free: 28.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/0.2909, allocations: 0.5551 MB / 447.4 MB, free: 28.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.2912, allocations: 409.8 kB / 447.8 MB, free: 27.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-05/0.2913, allocations: 61.22 kB / 447.8 MB, free: 27.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.2915, allocations: 281.9 kB / 448.1 MB, free: 27.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.2916, allocations: 192.4 kB / 448.3 MB, free: 27.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.2918, allocations: 229 kB / 448.5 MB, free: 27.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.2919, allocations: 367 kB / 448.9 MB, free: 27.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/0.2925, allocations: 470.2 kB / 449.3 MB, free: 26.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007221/0.2933, allocations: 0.8186 MB / 450.2 MB, free: 26.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.2947, allocations: 1.776 MB / 451.9 MB, free: 24.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.2947, allocations: 3.094 kB / 451.9 MB, free: 24.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002171/0.2969, allocations: 1.937 MB / 453.9 MB, free: 23.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.297, allocations: 379.8 kB / 454.2 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.297, allocations: 13.81 kB / 454.3 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.2973, allocations: 66.06 kB / 454.3 MB, free: 23.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.2977, allocations: 115.9 kB / 454.4 MB, free: 23.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003136/0.298, allocations: 0.5929 MB / 455 MB, free: 23.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.2985, allocations: 129.8 kB / 455.2 MB, free: 22.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/0.2986, allocations: 59.02 kB / 455.2 MB, free: 22.96 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.0007633/0.2994, allocations: 0.7713 MB / 456 MB, free: 22.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.2995, allocations: 69.44 kB / 456.1 MB, free: 22.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.302, allocations: 1.919 MB / 458 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.3021, allocations: 3.812 kB / 458 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3021, allocations: 0 / 458 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3021, allocations: 1.125 kB / 458 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/0.3053, allocations: 2.671 MB / 460.7 MB, free: 20.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.3053, allocations: 2.219 kB / 460.7 MB, free: 20.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.3054, allocations: 29.27 kB / 460.7 MB, free: 20.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.3056, allocations: 57.73 kB / 460.7 MB, free: 20.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.292e-05/0.3057, allocations: 41.44 kB / 460.8 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002745/0.306, allocations: 0.5843 MB / 461.4 MB, free: 19.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.306, allocations: 1.156 kB / 461.4 MB, free: 19.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004018/0.31, allocations: 2.947 MB / 464.3 MB, free: 18.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/0.3101, allocations: 137.1 kB / 464.4 MB, free: 18.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.3103, allocations: 74 kB / 464.5 MB, free: 18.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/0.3108, allocations: 67.95 kB / 464.6 MB, free: 18.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004528/0.3113, allocations: 257.3 kB / 464.8 MB, free: 18.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.3114, allocations: 47.78 kB / 464.9 MB, free: 18.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002357/0.3117, allocations: 241.8 kB / 465.1 MB, free: 17.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3117, allocations: 0 / 465.1 MB, free: 17.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001079/0.3127, allocations: 325.3 kB / 465.4 MB, free: 17.89 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.000667/0.3134, allocations: 369.2 kB / 465.8 MB, free: 17.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002517/0.3159, allocations: 2.188 MB / 468 MB, free: 16.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.316, allocations: 0 / 468 MB, free: 16.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.3177, allocations: 2.434 MB / 470.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.3183, allocations: 101.2 kB / 470.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.3207, allocations: 1.74 MB / 472.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.3211, allocations: 0.9203 MB / 473.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.3213, allocations: 58.3 kB / 473.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3213, allocations: 0 / 473.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of Templates: time 0.01914/0.3404, allocations: 14.57 MB / 487.8 MB, free: 4.98 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