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.001723/0.001723, allocations: 100.5 kB / 16.4 MB, free: 6.508 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.002357/0.002358, allocations: 189.7 kB / 17.34 MB, free: 5.766 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.71/2.71, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1252/0.1252, allocations: 16.72 MB / 307.9 MB, free: 14.24 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 59.91 kB / 427 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1462, allocations: 53.48 MB / 480.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPCfunction): time 0.004997/0.1513, allocations: 2.001 MB / 482.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005626/0.157, allocations: 1.68 MB / 484.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007417/0.1577, allocations: 7.938 kB / 484.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005511/0.1583, allocations: 135 kB / 484.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000769/0.1591, allocations: 123 kB / 484.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.1612, allocations: 0.6928 MB / 485.1 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002164/0.1634, allocations: 1.416 MB / 486.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003817/0.1638, allocations: 143.8 kB / 486.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000981/0.1648, allocations: 0.5336 MB / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008168/0.1656, allocations: 334.3 kB / 487.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003235/0.166, allocations: 75.98 kB / 487.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.1675, allocations: 491.4 kB / 488.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003879/0.1679, allocations: 151.5 kB / 488.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007964/0.1687, allocations: 354.3 kB / 488.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.1712, allocations: 1.079 MB / 489.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.527e-06/0.1713, allocations: 0 / 489.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.95e-06/0.1713, allocations: 4 kB / 489.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.754e-05/0.1714, 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.003516/0.1749, allocations: 1.263 MB / 490.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.571e-05/0.175, allocations: 11.89 kB / 490.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.1762, allocations: 136.1 kB / 491 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.1773, allocations: 414.9 kB / 491.5 MB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.1776, allocations: 134.7 kB / 491.6 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.1778, allocations: 79.97 kB / 491.7 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.1804, allocations: 1.122 MB / 492.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.1805, allocations: 0 / 492.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.1806, allocations: 40 kB / 492.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/0.1808, allocations: 52.95 kB / 492.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.1829, allocations: 0.7731 MB / 493.6 MB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006495/0.1894, allocations: 2.796 MB / 496.4 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.1916, allocations: 1.08 MB / 497.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.1932, allocations: 0.9749 MB / 498.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003749/0.197, allocations: 2.876 MB / 0.4896 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001566/0.1986, allocations: 0.684 MB / 0.4903 GB, free: 14.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=68): time 3.296e-06/0.1986, allocations: 0 / 0.4903 GB, free: 14.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=68): time 0.005445/0.204, allocations: 2.17 MB / 0.4924 GB, free: 12.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005641/0.2047, allocations: 0.5282 MB / 0.4929 GB, free: 11.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007953/0.2055, allocations: 368 kB / 0.4933 GB, free: 11.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.2056, allocations: 61.69 kB / 0.4933 GB, free: 10.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.206, allocations: 252.4 kB / 0.4936 GB, free: 10.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.2063, allocations: 173.8 kB / 0.4937 GB, free: 10.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/0.2067, allocations: 206.6 kB / 0.4939 GB, free: 10.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002618/0.207, allocations: 366.7 kB / 0.4943 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008054/0.2078, allocations: 333.7 kB / 0.4946 GB, free: 9.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.2089, allocations: 0.6421 MB / 0.4952 GB, free: 8.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002618/0.2116, allocations: 1.607 MB / 0.4968 GB, free: 7.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-05/0.2116, allocations: 4 kB / 0.4968 GB, free: 7.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0036/0.2152, allocations: 1.555 MB / 0.4983 GB, free: 5.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005124/0.2157, allocations: 354.7 kB / 0.4987 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002166/0.2179, allocations: 0.7558 MB / 0.4994 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.2185, allocations: 76.8 kB / 0.4995 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.219, allocations: 111.7 kB / 0.4996 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008817/0.2199, allocations: 0.6225 MB / 0.5002 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/0.2206, allocations: 103 kB / 0.5003 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.2208, allocations: 48 kB / 0.5003 GB, free: 3.188 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.001433/0.2222, allocations: 0.7187 MB / 0.501 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.2225, allocations: 71.36 kB / 0.5011 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/0.2265, allocations: 1.679 MB / 0.5027 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.2265, allocations: 4 kB / 0.5027 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.2265, allocations: 0 / 0.5027 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.2265, allocations: 0 / 0.5027 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5173/0.7438, allocations: 2.544 MB / 0.5052 GB, free: 35.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006243/0.7501, allocations: 1.569 MB / 0.5068 GB, free: 34.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.7505, allocations: 32.25 kB / 0.5068 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004641/0.751, allocations: 65.91 kB / 0.5069 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/0.7513, allocations: 37 kB / 0.5069 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006884/0.752, allocations: 0.6126 MB / 0.5075 GB, free: 33.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.752, allocations: 0 / 0.5075 GB, free: 33.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006685/0.7587, allocations: 2.6 MB / 0.51 GB, free: 32.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.759, allocations: 125.9 kB / 0.5101 GB, free: 32.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003071/0.7593, allocations: 66.73 kB / 0.5102 GB, free: 32.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006001/0.76, allocations: 55.23 kB / 0.5103 GB, free: 32.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/0.7603, allocations: 62.52 kB / 0.5103 GB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.7604, allocations: 41.92 kB / 0.5104 GB, free: 32.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000418/0.7609, allocations: 217.6 kB / 0.5106 GB, free: 32.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7609, allocations: 0 / 0.5106 GB, free: 32.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002051/0.7629, allocations: 304.7 kB / 0.5109 GB, free: 32.39 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.001273/0.7642, allocations: 365.7 kB / 0.5112 GB, free: 32.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004357/0.7686, allocations: 1.819 MB / 0.513 GB, free: 31.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.7687, allocations: 0.6562 kB / 0.513 GB, free: 31.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003424/0.7721, allocations: 2.306 MB / 0.5152 GB, free: 29.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009551/0.7731, allocations: 89.25 kB / 0.5153 GB, free: 29.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/0.7776, allocations: 1.412 MB / 0.5167 GB, free: 28.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007991/0.7784, allocations: 0.9094 MB / 0.5176 GB, free: 28.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.7787, allocations: 52.05 kB / 0.5176 GB, free: 28 MB / 382.1 MB Notification: Performance of SimCode: time 2.004e-06/0.7788, allocations: 0 / 0.5176 GB, free: 28 MB / 382.1 MB Notification: Performance of Templates: time 0.03705/0.8158, allocations: 12.98 MB / 0.5303 GB, free: 22.33 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