Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPC.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.TCtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPC") translateModel(PNlib.Examples.ConTest.TCtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 100.1 kB / 15.88 MB, free: 12 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.002036/0.002036, allocations: 196.7 kB / 16.79 MB, free: 6.828 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2258/0.2258, allocations: 16.76 MB / 307.4 MB, free: 15.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001217, allocations: 55.91 kB / 371.6 MB, free: 3.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2708, allocations: 53.46 MB / 425.1 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPC): time 0.002716/0.2735, allocations: 2.098 MB / 427.2 MB, free: 38.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002884/0.2764, allocations: 1.934 MB / 429.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003133/0.2768, allocations: 2.844 kB / 429.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.2771, allocations: 104.2 kB / 429.2 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.2775, allocations: 93.61 kB / 429.3 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.2788, allocations: 0.5935 MB / 429.9 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008982/0.2797, allocations: 1.133 MB / 431 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.28, allocations: 141.8 kB / 431.2 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.2803, allocations: 440.1 kB / 431.6 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.2807, allocations: 319.7 kB / 431.9 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.58e-05/0.2808, allocations: 34.69 kB / 432 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000572/0.2814, allocations: 422.5 kB / 432.4 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.2815, allocations: 141.2 kB / 432.5 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.2818, allocations: 314.6 kB / 432.8 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006355/0.2824, allocations: 0.7633 MB / 433.6 MB, free: 35.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2824, allocations: 0 / 433.6 MB, free: 35.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2824, allocations: 0 / 433.6 MB, free: 35.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.2825, allocations: 0 / 433.6 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001392/0.2839, allocations: 1.262 MB / 434.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2839, allocations: 14.91 kB / 434.9 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006392/0.2845, allocations: 137.8 kB / 435 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.285, allocations: 405.6 kB / 435.4 MB, free: 34.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.2852, allocations: 134.7 kB / 435.5 MB, free: 34.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.2853, allocations: 78.52 kB / 435.6 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.2867, allocations: 1.123 MB / 436.7 MB, free: 33.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.2868, allocations: 3.938 kB / 436.7 MB, free: 33.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.997e-05/0.2869, allocations: 33.92 kB / 436.8 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.952e-05/0.287, allocations: 57.36 kB / 436.8 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.2882, allocations: 0.7646 MB / 437.6 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/0.291, allocations: 2.79 MB / 440.4 MB, free: 31.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.2921, allocations: 1.018 MB / 441.4 MB, free: 30.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007669/0.2928, allocations: 0.9077 MB / 442.3 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-05/0.2929, allocations: 18 kB / 442.3 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008156/0.2937, allocations: 0.6574 MB / 443 MB, free: 30.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 2.334e-06/0.2937, allocations: 0 / 443 MB, free: 30.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=68): time 0.00288/0.2966, allocations: 2.086 MB / 445.1 MB, free: 29.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/0.2968, allocations: 0.5294 MB / 445.6 MB, free: 28.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.2972, allocations: 371 kB / 445.9 MB, free: 28.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.228e-05/0.2973, allocations: 64.2 kB / 446 MB, free: 28.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.2974, allocations: 256.6 kB / 446.3 MB, free: 28.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.2975, allocations: 178.7 kB / 446.4 MB, free: 27.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.2978, allocations: 203.9 kB / 446.6 MB, free: 27.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.2979, allocations: 369.9 kB / 447 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/0.2983, allocations: 330.2 kB / 447.3 MB, free: 27.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000586/0.2989, allocations: 0.6427 MB / 448 MB, free: 26.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.3003, allocations: 1.63 MB / 449.6 MB, free: 25.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.3003, allocations: 3.312 kB / 449.6 MB, free: 25.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001813/0.3021, allocations: 1.552 MB / 451.1 MB, free: 24.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.3023, allocations: 358.2 kB / 451.5 MB, free: 24.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008692/0.3031, allocations: 0.7044 MB / 452.2 MB, free: 23.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003321/0.3035, allocations: 86.02 kB / 452.3 MB, free: 23.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.3038, allocations: 109.5 kB / 452.4 MB, free: 23.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003341/0.3041, allocations: 0.5985 MB / 453 MB, free: 23.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/0.3045, allocations: 104.8 kB / 453.1 MB, free: 23.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/0.3046, allocations: 50.28 kB / 453.1 MB, free: 23.33 MB / 350.1 MB Warning: Assuming fixed start value for the following 18 variables: P1.enableOut.Index:DISCRETE(fixed = true protected = true ) 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.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.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.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 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: 44 * Number of states: 0 () * Number of discrete variables: 101 ($PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,$whenCondition3,$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],$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition2,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedIn.vec[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 95 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000725/0.3053, allocations: 0.7151 MB / 453.9 MB, free: 22.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.3055, allocations: 64.41 kB / 453.9 MB, free: 22.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.3075, allocations: 1.626 MB / 455.5 MB, free: 22.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3076, allocations: 3.156 kB / 455.5 MB, free: 22.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3076, allocations: 0 / 455.5 MB, free: 22.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3076, allocations: 3.094 kB / 455.5 MB, free: 22.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.3106, allocations: 2.49 MB / 458 MB, free: 20.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002003/0.3126, allocations: 1.52 MB / 459.6 MB, free: 20.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.3128, allocations: 27.11 kB / 459.6 MB, free: 20.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002341/0.313, allocations: 71.81 kB / 459.7 MB, free: 20.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.617e-05/0.3131, allocations: 38.61 kB / 459.7 MB, free: 20.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000318/0.3134, allocations: 0.5966 MB / 460.3 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3135, allocations: 1 kB / 460.3 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00372/0.3172, allocations: 2.538 MB / 462.8 MB, free: 18.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3173, allocations: 121.1 kB / 462.9 MB, free: 18.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.3175, allocations: 76.91 kB / 463 MB, free: 18.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.3179, allocations: 53.22 kB / 463.1 MB, free: 18.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.3181, allocations: 60.41 kB / 463.1 MB, free: 18.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.823e-05/0.3182, allocations: 43.3 kB / 463.2 MB, free: 18.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.3184, allocations: 221.8 kB / 463.4 MB, free: 17.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3184, allocations: 0 / 463.4 MB, free: 17.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001095/0.3195, allocations: 296.1 kB / 463.7 MB, free: 17.92 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: 54 (P1.disMarksInOut,$whenCondition2,$whenCondition1,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.fireIn[1],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.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.anytrue,P1.emptying.numtrue,$whenCondition3,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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) * Number of discrete states: 50 (P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$whenCondition3,P1.fireIn[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,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],P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 17 * Array equations: 0 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007165/0.3202, allocations: 358.3 kB / 464 MB, free: 17.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002095/0.3223, allocations: 1.786 MB / 465.8 MB, free: 16.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3224, allocations: 1.562 kB / 465.8 MB, free: 16.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001517/0.3239, allocations: 2.236 MB / 468.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.3245, allocations: 83.66 kB / 468.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.3268, allocations: 1.571 MB / 469.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.3271, allocations: 0.9069 MB / 470.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.3273, allocations: 51.91 kB / 470.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3273, allocations: 0 / 470.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Templates: time 0.01967/0.347, allocations: 12.85 MB / 483.5 MB, free: 9.203 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPC.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPC.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.TCtoPCCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop141.cpp:100:249: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp149, tmp150, _system->_P1_P_prelimSpeedIn_, tmp151, tmp152, tmp153, (_system->_P1_P_fireIn_ && (!tmp154)), (tmp155 && (!tmp156)), tmp157); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop141.cpp:100:272: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp149, tmp150, _system->_P1_P_prelimSpeedIn_, tmp151, tmp152, tmp153, (_system->_P1_P_fireIn_ && (!tmp154)), (tmp155 && (!tmp156)), tmp157); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop36.cpp:98:249: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp159, tmp160, _system->_P1_P_prelimSpeedIn_, tmp161, tmp162, tmp163, (_system->_P1_P_fireIn_ && (!tmp164)), (tmp165 && (!tmp166)), tmp167); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop36.cpp:98:272: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp159, tmp160, _system->_P1_P_prelimSpeedIn_, tmp161, tmp162, tmp163, (_system->_P1_P_fireIn_ && (!tmp164)), (tmp165 && (!tmp166)), tmp167); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPC.cpp:1034:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp202,(!tmp203),tmp204); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.o] Error 1