Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPCfunction.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.TCtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPCfunction") translateModel(PNlib.Examples.ConTest.TCtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPCfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 106.3 kB / 16.41 MB, free: 6.488 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.002278/0.002278, allocations: 189.6 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.65/2.65, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1544/0.1544, allocations: 16.74 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.006754/0.006755, allocations: 55.91 kB / 427 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2281, allocations: 53.48 MB / 480.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPCfunction): time 0.006255/0.2344, allocations: 1.998 MB / 482.5 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006445/0.2409, allocations: 1.684 MB / 484.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.2425, allocations: 8 kB / 484.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.2438, allocations: 135 kB / 484.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.2453, allocations: 119 kB / 484.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003808/0.2492, allocations: 0.6928 MB / 485.1 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003594/0.2528, allocations: 1.416 MB / 486.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007093/0.2536, allocations: 143.8 kB / 486.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.2551, allocations: 0.5337 MB / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.2563, allocations: 334.2 kB / 487.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003766/0.2567, allocations: 72 kB / 487.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.2586, allocations: 495.4 kB / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005389/0.2592, allocations: 151.5 kB / 488.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.2604, allocations: 346.4 kB / 488.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003309/0.2637, allocations: 1.079 MB / 489.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.2638, allocations: 0 / 489.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.878e-06/0.2638, allocations: 0 / 489.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.116e-05/0.2639, allocations: 0 / 489.6 MB, free: 11.77 MB / 366.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.004272/0.2681, allocations: 1.263 MB / 490.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.208e-05/0.2683, allocations: 15.83 kB / 490.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.2697, allocations: 144.1 kB / 491 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.2712, allocations: 414.9 kB / 491.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000292/0.2715, allocations: 138.7 kB / 491.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/0.2718, allocations: 79.97 kB / 491.7 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00348/0.2753, allocations: 1.114 MB / 492.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/0.2754, allocations: 3.938 kB / 492.8 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.2756, allocations: 39.92 kB / 492.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/0.2758, allocations: 56.95 kB / 492.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.2785, allocations: 0.7731 MB / 493.7 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007728/0.2863, allocations: 2.792 MB / 496.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.289, allocations: 1.088 MB / 497.5 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/0.291, allocations: 0.9671 MB / 498.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004159/0.2952, allocations: 2.876 MB / 0.4896 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002165/0.2974, allocations: 0.6878 MB / 0.4903 GB, free: 14.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=68): time 5.811e-06/0.2975, allocations: 0 / 0.4903 GB, free: 14.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=68): time 0.007211/0.3047, allocations: 2.167 MB / 0.4924 GB, free: 12.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006987/0.3055, allocations: 0.5321 MB / 0.4929 GB, free: 11.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009857/0.3065, allocations: 368 kB / 0.4933 GB, free: 11.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001885/0.3067, allocations: 57.7 kB / 0.4933 GB, free: 10.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/0.3072, allocations: 252.4 kB / 0.4936 GB, free: 10.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003904/0.3076, allocations: 177.8 kB / 0.4938 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005765/0.3082, allocations: 202.5 kB / 0.4939 GB, free: 10.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002816/0.3085, allocations: 370.7 kB / 0.4943 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.3096, allocations: 329.8 kB / 0.4946 GB, free: 9.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.311, allocations: 0.6421 MB / 0.4952 GB, free: 8.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002954/0.314, allocations: 1.599 MB / 0.4968 GB, free: 7.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/0.314, allocations: 4 kB / 0.4968 GB, free: 7.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003954/0.318, allocations: 1.554 MB / 0.4983 GB, free: 5.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003806/0.3184, allocations: 358.7 kB / 0.4987 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002287/0.3207, allocations: 0.7525 MB / 0.4994 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007348/0.3215, allocations: 84.88 kB / 0.4995 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.3221, allocations: 103.8 kB / 0.4996 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009251/0.3231, allocations: 0.6303 MB / 0.5002 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009242/0.324, allocations: 103 kB / 0.5003 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.3242, allocations: 51.94 kB / 0.5003 GB, free: 3.176 MB / 382.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: 42 * 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 (105): * Single equations (assignments): 93 * 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.0018/0.326, allocations: 0.7097 MB / 0.501 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003502/0.3264, allocations: 71.38 kB / 0.5011 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/0.3309, allocations: 1.675 MB / 0.5027 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.3309, allocations: 4 kB / 0.5027 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.331, allocations: 0 / 0.5027 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.331, allocations: 0 / 0.5027 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4507/0.7817, allocations: 2.547 MB / 0.5052 GB, free: 34.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004215/0.786, allocations: 1.57 MB / 0.5068 GB, free: 34.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.7863, allocations: 28.12 kB / 0.5068 GB, free: 34.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003933/0.7868, allocations: 62.8 kB / 0.5069 GB, free: 34.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/0.7869, allocations: 36.34 kB / 0.5069 GB, free: 34.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005706/0.7875, allocations: 0.6151 MB / 0.5075 GB, free: 33.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.7875, allocations: 2.188 kB / 0.5075 GB, free: 33.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006529/0.7941, allocations: 2.601 MB / 0.51 GB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.7943, allocations: 124 kB / 0.5101 GB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/0.7947, allocations: 70.45 kB / 0.5102 GB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007449/0.7955, allocations: 54.38 kB / 0.5103 GB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/0.7957, allocations: 60.67 kB / 0.5103 GB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.7959, allocations: 44.8 kB / 0.5104 GB, free: 32.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003857/0.7963, allocations: 217.4 kB / 0.5106 GB, free: 32.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7963, allocations: 0 / 0.5106 GB, free: 32.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001771/0.7981, allocations: 301.7 kB / 0.5109 GB, free: 32.17 MB / 382.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.001139/0.7993, allocations: 366.4 kB / 0.5112 GB, free: 32.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004098/0.8034, allocations: 1.822 MB / 0.513 GB, free: 30.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/0.8035, allocations: 0 / 0.513 GB, free: 30.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00344/0.8069, allocations: 2.3 MB / 0.5152 GB, free: 29.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.808, allocations: 88.14 kB / 0.5153 GB, free: 29.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.8125, allocations: 1.424 MB / 0.5167 GB, free: 28.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006896/0.8132, allocations: 0.9056 MB / 0.5176 GB, free: 27.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.8135, allocations: 54.8 kB / 0.5176 GB, free: 27.78 MB / 382.1 MB Notification: Performance of SimCode: time 1.392e-06/0.8135, allocations: 0 / 0.5176 GB, free: 27.78 MB / 382.1 MB Notification: Performance of Templates: time 0.03549/0.849, allocations: 12.9 MB / 0.5302 GB, free: 22.32 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.makefile clang++ -std=c++17 -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.TCtoPCfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop139.cpp:100:256: 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, tmp151, tmp152, _system->_P1_P_enableIn_P_arcWeight_, tmp153, (_system->_P1_P_fireIn_ && (!tmp154)), (tmp155 && (!tmp156)), tmp157); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop139.cpp:100:279: 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, tmp151, tmp152, _system->_P1_P_enableIn_P_arcWeight_, tmp153, (_system->_P1_P_fireIn_ && (!tmp154)), (tmp155 && (!tmp156)), tmp157); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop35.cpp:98:256: 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, tmp161, tmp162, _system->_P1_P_enableIn_P_arcWeight_, tmp163, (_system->_P1_P_fireIn_ && (!tmp164)), (tmp165 && (!tmp166)), tmp167); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop35.cpp:98:279: 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, tmp161, tmp162, _system->_P1_P_enableIn_P_arcWeight_, tmp163, (_system->_P1_P_fireIn_ && (!tmp164)), (tmp165 && (!tmp166)), tmp167); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunction.cpp:1033: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.TCtoPCfunctionCalcHelperMain.o] Error 1