Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ConTest.TCtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPC") translateModel(PNlib.Examples.ConTest.TCtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00198/0.001981, allocations: 101.6 kB / 16.4 MB, free: 6.461 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.00182/0.00182, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.896/1.896, 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.144/0.144, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002154, allocations: 63.89 kB / 427 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1906, allocations: 53.47 MB / 480.5 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPC): time 0.006235/0.1969, allocations: 2.014 MB / 482.5 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006295/0.2033, allocations: 1.668 MB / 484.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.2048, allocations: 11.94 kB / 484.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.2058, allocations: 123 kB / 484.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.2076, allocations: 139 kB / 484.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00406/0.2117, allocations: 0.6861 MB / 485.1 MB, free: 340 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003753/0.2155, allocations: 1.408 MB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007049/0.2162, allocations: 151.8 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.218, allocations: 0.5336 MB / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.2194, allocations: 334.3 kB / 487.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000453/0.2199, allocations: 76 kB / 487.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.2218, allocations: 491.4 kB / 488.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005617/0.2223, allocations: 163.4 kB / 488.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009227/0.2233, allocations: 342.4 kB / 488.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00335/0.2267, allocations: 1.075 MB / 489.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.2267, allocations: 0 / 489.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.988e-06/0.2267, allocations: 4 kB / 489.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.93e-05/0.2268, 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.00393/0.2307, allocations: 1.255 MB / 490.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.562e-05/0.2308, allocations: 19.89 kB / 490.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.232, allocations: 132.1 kB / 491 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.2332, allocations: 410.9 kB / 491.4 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002774/0.2335, allocations: 142.7 kB / 491.6 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/0.2338, allocations: 79.98 kB / 491.7 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/0.2369, allocations: 1.12 MB / 492.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.2369, allocations: 4 kB / 492.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.2371, allocations: 35.98 kB / 492.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/0.2372, allocations: 52.95 kB / 492.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.2395, allocations: 0.7692 MB / 493.6 MB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005926/0.2454, allocations: 2.776 MB / 496.4 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.2475, allocations: 1.022 MB / 497.4 MB, free: 3.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.2491, allocations: 0.9047 MB / 498.3 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003563/0.2527, allocations: 2.892 MB / 0.4895 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00187/0.2546, allocations: 0.6606 MB / 0.4901 GB, free: 14.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=68): time 7.884e-06/0.2546, allocations: 0 / 0.4901 GB, free: 14.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=68): time 0.005662/0.2603, allocations: 2.085 MB / 0.4922 GB, free: 12.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005009/0.2609, allocations: 0.5321 MB / 0.4927 GB, free: 11.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008572/0.2618, allocations: 376 kB / 0.493 GB, free: 11.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.262, allocations: 65.69 kB / 0.4931 GB, free: 11.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/0.2625, allocations: 252.3 kB / 0.4934 GB, free: 10.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003909/0.2629, allocations: 181.8 kB / 0.4935 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005609/0.2635, allocations: 202.5 kB / 0.4937 GB, free: 10.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003463/0.2638, allocations: 366.7 kB / 0.4941 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00088/0.2647, allocations: 326.1 kB / 0.4944 GB, free: 9.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.266, allocations: 0.654 MB / 0.495 GB, free: 9.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00284/0.2689, allocations: 1.616 MB / 0.4966 GB, free: 7.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.672e-05/0.269, allocations: 0 / 0.4966 GB, free: 7.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003696/0.2727, allocations: 1.569 MB / 0.4981 GB, free: 5.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003277/0.273, allocations: 354.7 kB / 0.4985 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001792/0.2748, allocations: 0.7288 MB / 0.4992 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/0.2754, allocations: 72.8 kB / 0.4992 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/0.276, allocations: 115.7 kB / 0.4994 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007621/0.2768, allocations: 0.6069 MB / 0.5 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008312/0.2776, allocations: 103.1 kB / 0.5 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.2778, allocations: 48 kB / 0.5001 GB, free: 3.434 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: 44 * Number of states: 0 () * Number of discrete variables: 101 ($PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,$whenCondition3,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition2,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedIn.vec[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001812/0.2796, allocations: 0.7214 MB / 0.5008 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004526/0.2801, allocations: 71.38 kB / 0.5009 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/0.284, allocations: 1.616 MB / 0.5024 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.284, allocations: 4 kB / 0.5025 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.2841, allocations: 0 / 0.5025 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.2841, allocations: 3.984 kB / 0.5025 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.533/0.8171, allocations: 2.492 MB / 0.5049 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004133/0.8213, allocations: 1.527 MB / 0.5064 GB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.8216, allocations: 27 kB / 0.5064 GB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003732/0.822, allocations: 58.31 kB / 0.5065 GB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001813/0.8222, allocations: 35.7 kB / 0.5065 GB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000641/0.8229, allocations: 0.6036 MB / 0.5071 GB, free: 33.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8229, allocations: 1.344 kB / 0.5071 GB, free: 33.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006599/0.8295, allocations: 2.54 MB / 0.5096 GB, free: 32.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.8298, allocations: 123.2 kB / 0.5097 GB, free: 32.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003199/0.8301, allocations: 69.17 kB / 0.5097 GB, free: 32.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.8307, allocations: 50.91 kB / 0.5098 GB, free: 32.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/0.831, allocations: 60.25 kB / 0.5099 GB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.8312, allocations: 46.05 kB / 0.5099 GB, free: 32.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000441/0.8317, allocations: 222.2 kB / 0.5101 GB, free: 32.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8317, allocations: 0.9688 kB / 0.5101 GB, free: 32.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002062/0.8338, allocations: 299.7 kB / 0.5104 GB, free: 32.4 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.001414/0.8352, allocations: 362.3 kB / 0.5107 GB, free: 32.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004156/0.8394, allocations: 1.794 MB / 0.5125 GB, free: 31.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.8394, allocations: 3.75 kB / 0.5125 GB, free: 31.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003719/0.8432, allocations: 2.232 MB / 0.5147 GB, free: 29.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.8443, allocations: 92.48 kB / 0.5148 GB, free: 29.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004927/0.8492, allocations: 1.38 MB / 0.5161 GB, free: 28.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009228/0.8502, allocations: 0.9043 MB / 0.517 GB, free: 28.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.8505, allocations: 52.36 kB / 0.517 GB, free: 28.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.653e-06/0.8505, allocations: 0 / 0.517 GB, free: 28.1 MB / 382.1 MB Notification: Performance of Templates: time 0.03824/0.8888, allocations: 12.99 MB / 0.5297 GB, free: 22.79 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPC.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPC.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.TCtoPCCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop141.cpp:102:226: 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, tmp153, tmp154, (_system->_P1_P_fireIn_ && (!tmp155)), (tmp156 && (!tmp157)), tmp158); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop141.cpp:102:249: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp149, tmp150, tmp151, tmp152, tmp153, tmp154, (_system->_P1_P_fireIn_ && (!tmp155)), (tmp156 && (!tmp157)), tmp158); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop36.cpp:100:226: 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, tmp160, tmp161, tmp162, tmp163, tmp164, tmp165, (_system->_P1_P_fireIn_ && (!tmp166)), (tmp167 && (!tmp168)), tmp169); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop36.cpp:100:249: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp160, tmp161, tmp162, tmp163, tmp164, tmp165, (_system->_P1_P_fireIn_ && (!tmp166)), (tmp167 && (!tmp168)), tmp169); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPC.cpp:1033:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp204,(!tmp205),tmp206); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.o] Error 1