Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.PCtoTCfunction.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.PCtoTCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTCfunction") translateModel(PNlib.Examples.ConTest.PCtoTCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTCfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004878/0.004878, 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.001141/0.001141, 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.336/1.336, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1762/0.1762, allocations: 16.76 MB / 307.4 MB, free: 15.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.91 kB / 371.6 MB, free: 3.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2687, allocations: 53.46 MB / 425.1 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTCfunction): time 0.002722/0.2714, allocations: 2.093 MB / 427.2 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.2744, allocations: 1.933 MB / 429.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003197/0.2747, allocations: 2.469 kB / 429.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.275, allocations: 108.3 kB / 429.2 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.2754, allocations: 94.42 kB / 429.3 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.2766, allocations: 0.5948 MB / 429.9 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007728/0.2774, allocations: 1.153 MB / 431.1 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.2776, allocations: 162.3 kB / 431.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.278, allocations: 447.2 kB / 431.7 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.2783, allocations: 349.1 kB / 432 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.971e-05/0.2784, allocations: 42.41 kB / 432 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005313/0.279, allocations: 428.3 kB / 432.5 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.2791, allocations: 149.4 kB / 432.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.2794, allocations: 358 kB / 432.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006514/0.2801, allocations: 0.8413 MB / 433.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2801, allocations: 3.938 kB / 433.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2801, allocations: 2.594 kB / 433.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2801, allocations: 0 / 433.8 MB, free: 35.79 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.001454/0.2816, allocations: 1.325 MB / 435.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2816, allocations: 8.875 kB / 435.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006397/0.2822, allocations: 146 kB / 435.3 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.2827, allocations: 437.3 kB / 435.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.2829, allocations: 148.2 kB / 435.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.283, allocations: 89.33 kB / 435.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.2847, allocations: 1.327 MB / 437.3 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.2848, allocations: 0 / 437.3 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.862e-05/0.2848, allocations: 39.39 kB / 437.3 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.404e-05/0.285, allocations: 71.52 kB / 437.4 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.2864, allocations: 0.9352 MB / 438.3 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00311/0.2895, allocations: 2.958 MB / 441.3 MB, free: 31.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.2908, allocations: 1.255 MB / 442.5 MB, free: 30.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009217/0.2917, allocations: 1.131 MB / 443.6 MB, free: 29.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.2919, allocations: 92.97 kB / 443.7 MB, free: 29.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000919/0.2928, allocations: 0.8102 MB / 444.5 MB, free: 29.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=70): time 2.254e-06/0.2928, allocations: 0 / 444.5 MB, free: 29.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=70): time 0.003194/0.296, allocations: 2.516 MB / 447.1 MB, free: 28.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001981/0.2962, allocations: 0.5531 MB / 447.6 MB, free: 27.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.2966, allocations: 396.6 kB / 448 MB, free: 27.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.143e-05/0.2967, allocations: 60.28 kB / 448.1 MB, free: 27.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.2968, allocations: 283.4 kB / 448.3 MB, free: 27.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.297, allocations: 182.7 kB / 448.5 MB, free: 27.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/0.2973, allocations: 230.4 kB / 448.7 MB, free: 27.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.2973, allocations: 372.9 kB / 449.1 MB, free: 26.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00064/0.298, allocations: 471.8 kB / 449.6 MB, free: 26.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000746/0.2987, allocations: 0.8078 MB / 450.4 MB, free: 26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.3001, allocations: 1.769 MB / 452.1 MB, free: 24.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.3002, allocations: 3 kB / 452.1 MB, free: 24.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002214/0.3024, allocations: 1.93 MB / 454.1 MB, free: 23.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.3025, allocations: 378.2 kB / 454.4 MB, free: 23.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/0.3026, allocations: 15.12 kB / 454.5 MB, free: 23.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/0.3029, allocations: 77.66 kB / 454.5 MB, free: 23.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.3032, allocations: 116.3 kB / 454.7 MB, free: 23.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003129/0.3035, allocations: 0.5973 MB / 455.2 MB, free: 22.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.304, allocations: 132.3 kB / 455.4 MB, free: 22.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.828e-05/0.3041, allocations: 56.89 kB / 455.4 MB, free: 22.58 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: 46 * 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 (114): * Single equations (assignments): 102 * 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.000727/0.3049, allocations: 0.764 MB / 456.2 MB, free: 21.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.3051, allocations: 75.95 kB / 456.3 MB, free: 21.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/0.3076, allocations: 1.972 MB / 458.2 MB, free: 21.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.3077, allocations: 4.375 kB / 458.2 MB, free: 21.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3077, allocations: 1.125 kB / 458.2 MB, free: 21.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3077, allocations: 7.938 kB / 458.3 MB, free: 21.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.311, allocations: 2.714 MB / 461 MB, free: 19.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.311, allocations: 5.484 kB / 461 MB, free: 19.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.3112, allocations: 25.36 kB / 461 MB, free: 19.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000219/0.3114, allocations: 68.73 kB / 461.1 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.394e-05/0.3115, allocations: 44.61 kB / 461.1 MB, free: 19.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003046/0.3118, allocations: 0.5911 MB / 461.7 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3119, allocations: 1.406 kB / 461.7 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004114/0.316, allocations: 3.027 MB / 464.7 MB, free: 17.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.3161, allocations: 132.8 kB / 464.9 MB, free: 17.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.3163, allocations: 71.47 kB / 464.9 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/0.3168, allocations: 78.45 kB / 465 MB, free: 17.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004766/0.3173, allocations: 251.2 kB / 465.3 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.3174, allocations: 45.31 kB / 465.3 MB, free: 17.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.3177, allocations: 234 kB / 465.5 MB, free: 17.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3177, allocations: 0 / 465.5 MB, free: 17.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001129/0.3188, allocations: 327.4 kB / 465.8 MB, free: 17.43 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.0007138/0.3195, allocations: 368.4 kB / 466.2 MB, free: 17.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002772/0.3223, allocations: 2.216 MB / 468.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3223, allocations: 1.375 kB / 468.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002084/0.3244, allocations: 2.507 MB / 470.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006282/0.3251, allocations: 104 kB / 471 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.3278, allocations: 1.786 MB / 472.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.3282, allocations: 0.9199 MB / 473.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.3284, allocations: 53.42 kB / 473.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3284, allocations: 1.25 kB / 473.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Templates: time 0.01996/0.3483, allocations: 14.55 MB / 488.3 MB, free: 4.453 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTCfunction.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTCfunction.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.PCtoTCfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop150.cpp:90:268: 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, _system->_P1_P_enableOut_P_arcWeight_, (tmp156 && (!tmp157)), (_system->_P1_P_fireOut_ && (!tmp158)), tmp159); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop150.cpp:90:308: 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, _system->_P1_P_enableOut_P_arcWeight_, (tmp156 && (!tmp157)), (_system->_P1_P_fireOut_ && (!tmp158)), tmp159); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop38.cpp:89:268: 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_), tmp161, tmp162, tmp163, _system->_P1_P_prelimSpeedOut_, tmp164, _system->_P1_P_enableOut_P_arcWeight_, (tmp165 && (!tmp166)), (_system->_P1_P_fireOut_ && (!tmp167)), tmp168); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop38.cpp:89:308: 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_), tmp161, tmp162, tmp163, _system->_P1_P_prelimSpeedOut_, tmp164, _system->_P1_P_enableOut_P_arcWeight_, (tmp165 && (!tmp166)), (_system->_P1_P_fireOut_ && (!tmp167)), tmp168); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionInitialize.cpp:644:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT4),tmp19); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunction.cpp:886:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp200),tmp201); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunction.cpp:1095:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT4),tmp239); ^~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.o] Error 1