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.005387/0.005387, allocations: 100.4 kB / 15.87 MB, free: 6.301 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.001249/0.00125, allocations: 192.1 kB / 16.79 MB, free: 6.234 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.349/1.349, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2074/0.2074, allocations: 16.76 MB / 307.4 MB, free: 15.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.88 kB / 371.6 MB, free: 3.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2578, allocations: 53.44 MB / 425.1 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPCfunction): time 0.002715/0.2605, allocations: 2.112 MB / 427.2 MB, free: 38.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.2634, allocations: 1.932 MB / 429.1 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003063/0.2637, allocations: 7.312 kB / 429.1 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.264, allocations: 106 kB / 429.2 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.2644, allocations: 94.78 kB / 429.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.2655, allocations: 0.593 MB / 429.9 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007566/0.2663, allocations: 1.129 MB / 431 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.2665, allocations: 147 kB / 431.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.2669, allocations: 434.2 kB / 431.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.2672, allocations: 315.5 kB / 431.9 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.156e-05/0.2673, allocations: 36 kB / 432 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005239/0.2679, allocations: 424.1 kB / 432.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.268, allocations: 141.8 kB / 432.5 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.2682, allocations: 315.8 kB / 432.8 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006058/0.2689, allocations: 0.763 MB / 433.6 MB, free: 35.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2689, allocations: 3.125 kB / 433.6 MB, free: 35.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2689, allocations: 0 / 433.6 MB, free: 35.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.2689, allocations: 0 / 433.6 MB, free: 35.86 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.001355/0.2703, allocations: 1.259 MB / 434.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.2703, allocations: 9.219 kB / 434.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006235/0.2709, allocations: 135.9 kB / 435 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.2714, allocations: 410.9 kB / 435.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.2715, allocations: 144.9 kB / 435.5 MB, free: 34.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.656e-05/0.2716, allocations: 72.56 kB / 435.6 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.273, allocations: 1.124 MB / 436.7 MB, free: 33.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.2731, allocations: 3.938 kB / 436.7 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/0.2732, allocations: 34.48 kB / 436.8 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-05/0.2733, allocations: 52.38 kB / 436.8 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.2745, allocations: 0.7742 MB / 437.6 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002932/0.2775, allocations: 2.808 MB / 440.4 MB, free: 31.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.2786, allocations: 1.092 MB / 441.5 MB, free: 30.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008141/0.2794, allocations: 0.9668 MB / 442.4 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.706e-05/0.2795, allocations: 17.98 kB / 442.5 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008215/0.2804, allocations: 0.68 MB / 443.1 MB, free: 30.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 3.086e-06/0.2804, allocations: 0 / 443.1 MB, free: 30.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=68): time 0.002989/0.2834, allocations: 2.154 MB / 445.3 MB, free: 29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002041/0.2836, allocations: 0.5354 MB / 445.8 MB, free: 28.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.2839, allocations: 362.7 kB / 446.2 MB, free: 28.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/0.284, allocations: 59.84 kB / 446.2 MB, free: 28.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.2842, allocations: 258.7 kB / 446.5 MB, free: 27.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.2843, allocations: 175.7 kB / 446.7 MB, free: 27.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.2845, allocations: 205.1 kB / 446.9 MB, free: 27.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.567e-05/0.2846, allocations: 368.5 kB / 447.2 MB, free: 27.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.2851, allocations: 329.9 kB / 447.6 MB, free: 27.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.2857, allocations: 0.6328 MB / 448.2 MB, free: 26.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.2871, allocations: 1.625 MB / 449.8 MB, free: 25.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.2871, allocations: 3.156 kB / 449.8 MB, free: 25.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001873/0.289, allocations: 1.552 MB / 451.4 MB, free: 24.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.2891, allocations: 354.7 kB / 451.7 MB, free: 24.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009401/0.2901, allocations: 0.7316 MB / 452.4 MB, free: 23.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.2905, allocations: 78.14 kB / 452.5 MB, free: 23.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.2908, allocations: 103.2 kB / 452.6 MB, free: 23.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003427/0.2911, allocations: 0.6172 MB / 453.2 MB, free: 23.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.2915, allocations: 102.7 kB / 453.3 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.982e-05/0.2916, allocations: 50.3 kB / 453.4 MB, free: 23.3 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: 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.0007777/0.2924, allocations: 0.7182 MB / 454.1 MB, free: 22.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.2926, allocations: 66.94 kB / 454.2 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.2947, allocations: 1.677 MB / 455.8 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.2948, allocations: 3.062 kB / 455.9 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2948, allocations: 0 / 455.9 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2948, allocations: 0 / 455.9 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/0.2979, allocations: 2.555 MB / 458.4 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002089/0.3, allocations: 1.561 MB / 460 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.3002, allocations: 34.02 kB / 460 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002572/0.3004, allocations: 67.39 kB / 460.1 MB, free: 19.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.056e-05/0.3005, allocations: 46.11 kB / 460.1 MB, free: 19.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003294/0.3009, allocations: 0.598 MB / 460.7 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3009, allocations: 0 / 460.7 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/0.3046, allocations: 2.6 MB / 463.3 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.3047, allocations: 124.6 kB / 463.4 MB, free: 18.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.305, allocations: 71.95 kB / 463.5 MB, free: 17.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.3054, allocations: 57.31 kB / 463.6 MB, free: 17.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.3056, allocations: 61.55 kB / 463.6 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.3057, allocations: 47.19 kB / 463.7 MB, free: 17.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002473/0.306, allocations: 217.7 kB / 463.9 MB, free: 17.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.306, allocations: 0 / 463.9 MB, free: 17.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001159/0.3071, allocations: 294.4 kB / 464.2 MB, free: 17.78 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.0008516/0.308, allocations: 367.7 kB / 464.5 MB, free: 17.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002299/0.3103, allocations: 1.808 MB / 466.3 MB, free: 16.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.3103, allocations: 4 kB / 466.3 MB, free: 16.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.3121, allocations: 2.294 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006539/0.3128, allocations: 86.39 kB / 468.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.3157, allocations: 1.607 MB / 470.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.3162, allocations: 0.9199 MB / 471.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.3163, allocations: 46.55 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3163, allocations: 0 / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of Templates: time 0.02495/0.3413, allocations: 12.84 MB / 484.1 MB, free: 8.625 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.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.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: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, tmp149, tmp150, _system->_P1_P_prelimSpeedIn_, tmp151, _system->_P1_P_enableIn_P_arcWeight_, tmp152, (_system->_P1_P_fireIn_ && (!tmp153)), (tmp154 && (!tmp155)), tmp156); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop139.cpp:98:302: 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, _system->_P1_P_enableIn_P_arcWeight_, tmp152, (_system->_P1_P_fireIn_ && (!tmp153)), (tmp154 && (!tmp155)), tmp156); ^~~~~~~ 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:96: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, tmp158, tmp159, _system->_P1_P_prelimSpeedIn_, tmp160, _system->_P1_P_enableIn_P_arcWeight_, tmp161, (_system->_P1_P_fireIn_ && (!tmp162)), (tmp163 && (!tmp164)), tmp165); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop35.cpp:96:302: 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, tmp158, tmp159, _system->_P1_P_prelimSpeedIn_, tmp160, _system->_P1_P_enableIn_P_arcWeight_, tmp161, (_system->_P1_P_fireIn_ && (!tmp162)), (tmp163 && (!tmp164)), tmp165); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunction.cpp:1034:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp200,(!tmp201),tmp202); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.o] Error 1