Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.PCtoTCfunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ConTest.PCtoTCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTCfunction") translateModel(PNlib.Examples.ConTest.PCtoTCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTCfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 106.6 kB / 16.41 MB, free: 6.512 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.00239/0.00239, allocations: 187 kB / 17.34 MB, free: 5.742 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.364/2.364, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1396/0.1396, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 63.91 kB / 427 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3243, allocations: 53.48 MB / 480.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTCfunction): time 0.01478/0.3392, allocations: 1.999 MB / 482.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005909/0.3452, allocations: 1.68 MB / 484.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.3464, allocations: 7.938 kB / 484.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006866/0.3472, allocations: 135 kB / 484.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005393/0.3526, allocations: 127 kB / 484.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.3562, allocations: 0.6928 MB / 485.1 MB, free: 308 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003347/0.3596, allocations: 1.432 MB / 486.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004939/0.3646, allocations: 164.6 kB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.3667, allocations: 0.5415 MB / 487.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.3679, allocations: 370.1 kB / 487.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.3682, allocations: 88 kB / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.3699, allocations: 0.4955 MB / 488.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.3703, allocations: 171.4 kB / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007915/0.3711, allocations: 398.2 kB / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.3741, allocations: 1.192 MB / 489.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.709e-05/0.3741, allocations: 0 / 489.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.3741, allocations: 3.938 kB / 489.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.875e-05/0.3742, allocations: 0 / 489.9 MB, free: 11.45 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.00355/0.3777, allocations: 1.325 MB / 491.3 MB, free: 10 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.364e-05/0.3779, allocations: 11.89 kB / 491.3 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.3793, allocations: 144 kB / 491.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.3804, allocations: 442.9 kB / 491.8 MB, free: 9.379 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002985/0.3808, allocations: 142.5 kB / 492 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/0.381, allocations: 83.98 kB / 492.1 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.3939, allocations: 1.33 MB / 493.4 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-05/0.394, allocations: 0 / 493.4 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/0.3942, allocations: 39.98 kB / 493.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002589/0.3945, allocations: 69.25 kB / 493.5 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003131/0.3976, allocations: 0.9457 MB / 494.4 MB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/0.4091, allocations: 2.944 MB / 497.4 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/0.412, allocations: 1.248 MB / 498.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002461/0.4145, allocations: 1.131 MB / 499.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004356/0.4189, allocations: 2.96 MB / 0.4909 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002343/0.4213, allocations: 0.8013 MB / 0.4917 GB, free: 12.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 4.158e-06/0.4213, allocations: 4 kB / 0.4917 GB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=70): time 0.01522/0.4366, allocations: 2.519 MB / 0.4942 GB, free: 10.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005259/0.4371, allocations: 0.5481 MB / 0.4947 GB, free: 9.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00086/0.438, allocations: 392 kB / 0.4951 GB, free: 9.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.4382, allocations: 65.69 kB / 0.4952 GB, free: 9.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.4386, allocations: 276.1 kB / 0.4954 GB, free: 8.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.4389, allocations: 193.7 kB / 0.4956 GB, free: 8.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005101/0.4394, allocations: 222.5 kB / 0.4958 GB, free: 8.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.4397, allocations: 374.8 kB / 0.4962 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005418/0.4451, allocations: 478 kB / 0.4966 GB, free: 7.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.4468, allocations: 0.804 MB / 0.4974 GB, free: 6.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007503/0.4543, allocations: 1.766 MB / 0.4991 GB, free: 4.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.562e-05/0.4544, allocations: 7.938 kB / 0.4992 GB, free: 4.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004777/0.4592, allocations: 1.925 MB / 0.501 GB, free: 2.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003699/0.4596, allocations: 378.6 kB / 0.5014 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007484/0.4671, allocations: 1.06 MB / 0.5024 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/0.4678, allocations: 84.8 kB / 0.5025 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/0.4685, allocations: 111.7 kB / 0.5026 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009201/0.4694, allocations: 0.6224 MB / 0.5032 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.4707, allocations: 135.1 kB / 0.5034 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.6434/1.114, allocations: 55.31 kB / 0.5034 GB, free: 34.8 MB / 382.1 MB Warning: Assuming fixed start value for the following 18 variables: P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 108 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition3,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.delayPassedOut.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$PRE.P1.fireOut[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.002214/1.116, allocations: 0.7517 MB / 0.5041 GB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004421/1.117, allocations: 77.22 kB / 0.5042 GB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005725/1.123, allocations: 1.98 MB / 0.5061 GB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/1.123, allocations: 8.062 kB / 0.5062 GB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.123, allocations: 3.797 kB / 0.5062 GB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/1.123, allocations: 1.312 kB / 0.5062 GB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007126/1.13, allocations: 2.71 MB / 0.5088 GB, free: 33.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005482/1.135, allocations: 1.863 MB / 0.5106 GB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/1.136, allocations: 33.91 kB / 0.5107 GB, free: 32.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003798/1.136, allocations: 56.44 kB / 0.5107 GB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001984/1.136, allocations: 45.98 kB / 0.5108 GB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006109/1.137, allocations: 0.6096 MB / 0.5114 GB, free: 31.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.137, allocations: 3.281 kB / 0.5114 GB, free: 31.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/1.15, allocations: 3.049 MB / 0.5143 GB, free: 30.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/1.151, allocations: 126.6 kB / 0.5145 GB, free: 30.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004227/1.151, allocations: 72.69 kB / 0.5145 GB, free: 30.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000961/1.152, allocations: 73.11 kB / 0.5146 GB, free: 30.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008615/1.153, allocations: 256.5 kB / 0.5148 GB, free: 30.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002033/1.153, allocations: 49.05 kB / 0.5149 GB, free: 30.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005229/1.154, allocations: 231.1 kB / 0.5151 GB, free: 30.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/1.154, allocations: 5.375 kB / 0.5151 GB, free: 30.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00257/1.156, allocations: 336.1 kB / 0.5154 GB, free: 30.09 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: 57 ($whenCondition1,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$cse2[1],$whenCondition3,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.NoTokens,T1.fire_) * Number of discrete states: 51 (P1.disMarksInOut,P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.disMarkChange,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 19 * Array equations: 1 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/1.158, allocations: 372.4 kB / 0.5158 GB, free: 29.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01033/1.168, allocations: 2.217 MB / 0.5179 GB, free: 28.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/1.168, allocations: 1.156 kB / 0.518 GB, free: 28.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005111/1.173, allocations: 2.516 MB / 0.5204 GB, free: 26.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/1.175, allocations: 92.3 kB / 0.5205 GB, free: 26.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/1.181, allocations: 1.601 MB / 0.5221 GB, free: 26.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/1.183, allocations: 0.9278 MB / 0.523 GB, free: 25.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/1.183, allocations: 57.92 kB / 0.523 GB, free: 25.35 MB / 382.1 MB Notification: Performance of SimCode: time 1.813e-06/1.183, allocations: 0 / 0.523 GB, free: 25.35 MB / 382.1 MB Notification: Performance of Templates: time 0.05367/1.237, allocations: 14.78 MB / 0.5375 GB, free: 14.73 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTCfunction.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTCfunction.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.PCtoTCfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop152.cpp:100:244: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp153, tmp154, tmp155, tmp156, tmp157, _system->_P1_P_enableOut_P_arcWeight_, (tmp158 && (!tmp159)), (_system->_P1_P_fireOut_ && (!tmp160)), tmp161); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop152.cpp:100:284: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp153, tmp154, tmp155, tmp156, tmp157, _system->_P1_P_enableOut_P_arcWeight_, (tmp158 && (!tmp159)), (_system->_P1_P_fireOut_ && (!tmp160)), tmp161); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop39.cpp:98:244: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp163, tmp164, tmp165, tmp166, tmp167, _system->_P1_P_enableOut_P_arcWeight_, (tmp168 && (!tmp169)), (_system->_P1_P_fireOut_ && (!tmp170)), tmp171); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop39.cpp:98:284: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp163, tmp164, tmp165, tmp166, tmp167, _system->_P1_P_enableOut_P_arcWeight_, (tmp168 && (!tmp169)), (_system->_P1_P_fireOut_ && (!tmp170)), tmp171); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionInitialize.cpp:644:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT4),tmp19); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunction.cpp:885:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp202),tmp203); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunction.cpp:1094:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT4),tmp241); ^~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.o] Error 1