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.01009/0.01009, allocations: 104 kB / 16.41 MB, free: 6.449 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.001984/0.001984, allocations: 192.2 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 2.744/2.744, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.146/0.146, allocations: 16.73 MB / 307.9 MB, free: 14.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 64.08 kB / 427 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.184, allocations: 53.47 MB / 480.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPC): time 0.006291/0.1904, allocations: 2.013 MB / 482.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005865/0.1964, allocations: 1.672 MB / 484.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009198/0.1973, allocations: 11.94 kB / 484.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008299/0.1983, allocations: 127 kB / 484.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.1996, allocations: 131 kB / 484.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003547/0.2032, allocations: 0.6931 MB / 485.1 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003233/0.2064, allocations: 1.408 MB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000538/0.207, allocations: 143.8 kB / 486.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.2085, allocations: 0.5336 MB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.2096, allocations: 334.3 kB / 487.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003545/0.21, allocations: 76 kB / 487.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.2116, allocations: 491.3 kB / 488.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003975/0.212, allocations: 155.4 kB / 488.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008133/0.2128, allocations: 354.4 kB / 488.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002414/0.2153, allocations: 1.079 MB / 489.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.2153, allocations: 0 / 489.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2153, allocations: 0 / 489.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.89e-05/0.2154, allocations: 3.938 kB / 489.6 MB, free: 11.75 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.003504/0.2189, allocations: 1.255 MB / 490.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.039e-05/0.219, allocations: 19.83 kB / 490.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.2202, allocations: 136.1 kB / 491 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009767/0.2212, allocations: 410.9 kB / 491.4 MB, free: 9.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.2215, allocations: 138.7 kB / 491.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.2217, allocations: 75.98 kB / 491.7 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/0.2247, allocations: 1.122 MB / 492.8 MB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.2247, allocations: 4 kB / 492.8 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.2249, allocations: 35.98 kB / 492.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001621/0.225, allocations: 52.95 kB / 492.9 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/0.2274, allocations: 0.7731 MB / 493.6 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005816/0.2332, allocations: 2.773 MB / 496.4 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/0.2356, allocations: 1.026 MB / 497.4 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.2375, allocations: 0.9047 MB / 498.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003608/0.2412, allocations: 2.888 MB / 0.4895 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001972/0.2432, allocations: 0.6606 MB / 0.4901 GB, free: 14.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=68): time 4.629e-06/0.2432, allocations: 0 / 0.4901 GB, free: 14.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=68): time 0.006501/0.2498, allocations: 2.091 MB / 0.4922 GB, free: 12.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004925/0.2503, allocations: 0.5321 MB / 0.4927 GB, free: 11.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008018/0.2511, allocations: 368.1 kB / 0.493 GB, free: 11.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001656/0.2513, allocations: 69.62 kB / 0.4931 GB, free: 11.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.2516, allocations: 248.3 kB / 0.4933 GB, free: 10.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.252, allocations: 189.8 kB / 0.4935 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/0.2524, allocations: 202.5 kB / 0.4937 GB, free: 10.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002513/0.2527, allocations: 370.7 kB / 0.4941 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009968/0.2537, allocations: 330.1 kB / 0.4944 GB, free: 9.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.2551, allocations: 0.6423 MB / 0.495 GB, free: 9.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00291/0.258, allocations: 1.62 MB / 0.4966 GB, free: 7.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.858e-05/0.2581, allocations: 4 kB / 0.4966 GB, free: 7.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003852/0.2619, allocations: 1.562 MB / 0.4981 GB, free: 5.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003293/0.2623, allocations: 354.7 kB / 0.4985 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001972/0.2643, allocations: 0.7323 MB / 0.4992 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005652/0.2649, allocations: 76.8 kB / 0.4993 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.2655, allocations: 107.7 kB / 0.4994 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007718/0.2663, allocations: 0.6069 MB / 0.4999 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008955/0.2672, allocations: 107.2 kB / 0.5001 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.2674, allocations: 51.98 kB / 0.5001 GB, free: 3.398 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.002037/0.2694, allocations: 0.7136 MB / 0.5008 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004445/0.2699, allocations: 71.38 kB / 0.5009 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005797/0.2757, allocations: 1.624 MB / 0.5025 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.2758, allocations: 4 kB / 0.5025 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.2758, allocations: 0 / 0.5025 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.2758, allocations: 0 / 0.5025 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3986/0.6745, allocations: 2.492 MB / 0.5049 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005061/0.6797, allocations: 1.53 MB / 0.5064 GB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.6801, allocations: 30.39 kB / 0.5064 GB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000433/0.6805, allocations: 52.72 kB / 0.5065 GB, free: 34.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002339/0.6808, allocations: 39.75 kB / 0.5065 GB, free: 34.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008421/0.6817, allocations: 0.6032 MB / 0.5071 GB, free: 33.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.6817, allocations: 3.062 kB / 0.5071 GB, free: 33.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008435/0.6902, allocations: 2.536 MB / 0.5096 GB, free: 32.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/0.6906, allocations: 122.7 kB / 0.5097 GB, free: 32.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004523/0.6911, allocations: 70.08 kB / 0.5098 GB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009179/0.6921, allocations: 49.77 kB / 0.5098 GB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003258/0.6924, allocations: 58 kB / 0.5099 GB, free: 32.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/0.6926, allocations: 45.97 kB / 0.5099 GB, free: 32.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004616/0.6931, allocations: 225.8 kB / 0.5101 GB, free: 32.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6932, allocations: 1.375 kB / 0.5101 GB, free: 32.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002027/0.6952, allocations: 294.1 kB / 0.5104 GB, free: 32.38 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.001682/0.6969, allocations: 350.4 kB / 0.5107 GB, free: 32.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004626/0.7016, allocations: 1.803 MB / 0.5125 GB, free: 31.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/0.7016, allocations: 1.219 kB / 0.5125 GB, free: 31.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004437/0.7061, allocations: 2.233 MB / 0.5147 GB, free: 29.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.7074, allocations: 93.28 kB / 0.5148 GB, free: 29.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005926/0.7134, allocations: 1.381 MB / 0.5161 GB, free: 28.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.7147, allocations: 0.9059 MB / 0.517 GB, free: 28.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/0.7151, allocations: 51.58 kB / 0.517 GB, free: 28.06 MB / 382.1 MB Notification: Performance of SimCode: time 2.795e-06/0.7151, allocations: 0 / 0.517 GB, free: 28.06 MB / 382.1 MB Notification: Performance of Templates: time 0.03516/0.7503, allocations: 12.92 MB / 0.5297 GB, free: 22.88 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