Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPC.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.HybTest.TDtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPC") translateModel(PNlib.Examples.HybTest.TDtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001732, allocations: 107.6 kB / 16.41 MB, free: 6.492 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.002256/0.002256, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.737/2.737, 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.1498/0.1498, allocations: 16.73 MB / 307.9 MB, free: 14.24 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 63.91 kB / 427 MB, free: 10.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1762, allocations: 53.47 MB / 480.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPC): time 0.005665/0.182, allocations: 1.975 MB / 482.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005175/0.1873, allocations: 1.56 MB / 484 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008522/0.1882, allocations: 8 kB / 484 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006427/0.1889, allocations: 123 kB / 484.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007986/0.1897, allocations: 111 kB / 484.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.1925, allocations: 0.6556 MB / 484.9 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002677/0.1952, allocations: 1.323 MB / 486.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004556/0.1957, allocations: 151.8 kB / 486.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.1967, allocations: 0.4985 MB / 486.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007446/0.1975, allocations: 326.4 kB / 487.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.1977, allocations: 72 kB / 487.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.1989, allocations: 439.5 kB / 487.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003068/0.1993, allocations: 155.4 kB / 487.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005772/0.1999, allocations: 346.4 kB / 488.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.2017, allocations: 1.025 MB / 489.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2018, allocations: 0 / 489.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2018, allocations: 0 / 489.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.2018, allocations: 0 / 489.2 MB, free: 12.24 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.00271/0.2045, allocations: 1.263 MB / 490.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/0.2046, allocations: 11.89 kB / 490.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.2057, allocations: 140 kB / 490.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009079/0.2066, allocations: 406.8 kB / 491 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.2069, allocations: 134.4 kB / 491.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.2071, allocations: 79.97 kB / 491.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003425/0.2106, allocations: 1.106 MB / 492.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.2106, allocations: 0 / 492.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.2108, allocations: 31.98 kB / 492.3 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001897/0.211, allocations: 52.95 kB / 492.4 MB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.2139, allocations: 0.7574 MB / 493.2 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006562/0.2205, allocations: 2.749 MB / 495.9 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.2227, allocations: 1.024 MB / 496.9 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.2244, allocations: 0.9095 MB / 497.8 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003512/0.228, allocations: 2.888 MB / 0.489 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001793/0.2298, allocations: 0.6805 MB / 0.4897 GB, free: 14.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 3.597e-06/0.2299, allocations: 0 / 0.4897 GB, free: 14.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=71): time 0.004997/0.2349, allocations: 1.936 MB / 0.4915 GB, free: 12.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004976/0.2354, allocations: 0.5788 MB / 0.4921 GB, free: 12.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/0.2362, allocations: 388.2 kB / 0.4925 GB, free: 11.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.2364, allocations: 61.7 kB / 0.4925 GB, free: 11.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.2367, allocations: 260.3 kB / 0.4928 GB, free: 11.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.237, allocations: 181.8 kB / 0.493 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004084/0.2374, allocations: 206.5 kB / 0.4932 GB, free: 11.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.2376, allocations: 370.7 kB / 0.4935 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008838/0.2385, allocations: 318.1 kB / 0.4938 GB, free: 10.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.2398, allocations: 0.6613 MB / 0.4945 GB, free: 9.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004153/0.244, allocations: 2.107 MB / 0.4965 GB, free: 7.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.893e-05/0.244, allocations: 4 kB / 0.4965 GB, free: 7.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004389/0.2484, allocations: 1.52 MB / 0.498 GB, free: 5.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003318/0.2488, allocations: 350.7 kB / 0.4983 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001664/0.2505, allocations: 0.5656 MB / 0.4989 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.338e-05/0.2506, allocations: 16 kB / 0.4989 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007968/0.2514, allocations: 119.7 kB / 0.499 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.266e-05/0.2515, allocations: 23.92 kB / 0.499 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009296/0.2524, allocations: 118.9 kB / 0.4992 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.2526, allocations: 52 kB / 0.4992 GB, free: 4.316 MB / 382.1 MB Warning: Assuming fixed start value for the following 21 variables: 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 T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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 T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 108 ($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.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,$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,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,$PRE.T1.firingTime,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireIn[1],$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001615/0.2542, allocations: 0.7256 MB / 0.4999 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/0.2546, allocations: 63.44 kB / 0.5 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003815/0.2584, allocations: 1.439 MB / 0.5014 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.2585, allocations: 12 kB / 0.5014 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.2585, allocations: 0 / 0.5014 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.2585, allocations: 0 / 0.5014 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4935/0.7521, allocations: 2.322 MB / 0.5037 GB, free: 34.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004329/0.7565, allocations: 1.356 MB / 0.505 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.7569, allocations: 34.22 kB / 0.505 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/0.7569, allocations: 2.406 kB / 0.505 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001969/0.7571, allocations: 36.86 kB / 0.5051 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.53e-05/0.7571, allocations: 6.406 kB / 0.5051 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.7572, allocations: 1.688 kB / 0.5051 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007547/0.7647, allocations: 2.469 MB / 0.5075 GB, free: 33.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.765, allocations: 127.1 kB / 0.5076 GB, free: 33.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003123/0.7653, allocations: 63.42 kB / 0.5077 GB, free: 33.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007918/0.7661, allocations: 56.81 kB / 0.5077 GB, free: 33.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000411/0.7666, allocations: 94.27 kB / 0.5078 GB, free: 33.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.7668, allocations: 40.33 kB / 0.5078 GB, free: 33.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000499/0.7673, allocations: 225.6 kB / 0.5081 GB, free: 33.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.212e-06/0.7673, allocations: 0 / 0.5081 GB, free: 33.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001937/0.7693, allocations: 285.1 kB / 0.5083 GB, free: 33.65 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (P1.t_) * Number of discrete variables: 60 (P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition1,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,P1.fireIn[1],T1.active,P1.disMarksInOut,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.enableIn.TAein[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.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 48 (P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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],$whenCondition2,P1.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarkChange,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,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001206/0.7705, allocations: 344.3 kB / 0.5087 GB, free: 33.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00421/0.7747, allocations: 1.758 MB / 0.5104 GB, free: 32.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.7748, allocations: 1.094 kB / 0.5104 GB, free: 32.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003394/0.7782, allocations: 2.211 MB / 0.5125 GB, free: 30.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.7794, allocations: 84.66 kB / 0.5126 GB, free: 30.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005655/0.7851, allocations: 1.441 MB / 0.514 GB, free: 30.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/0.7859, allocations: 0.9123 MB / 0.5149 GB, free: 29.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.7862, allocations: 43.16 kB / 0.515 GB, free: 29.36 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.7863, allocations: 1.062 kB / 0.515 GB, free: 29.36 MB / 382.1 MB Notification: Performance of Templates: time 0.0402/0.8265, allocations: 10.49 MB / 0.5252 GB, free: 26.02 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPC.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPC.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.HybTest.TDtoPCCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCInitialize.cpp:683:167: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, tmp30, (_P1_P_fireIn_ && (!tmp31)), (tmp32 && (!tmp33)), tmp34); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCInitialize.cpp:683:188: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, tmp30, (_P1_P_fireIn_ && (!tmp31)), (tmp32 && (!tmp33)), tmp34); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPC.cpp:721:80: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_TAein_,(!tmp165),tmp166); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPC.cpp:1102:183: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (_P1_P_disMarksIn_P_vec_ && (!tmp217)), (tmp218 && (!tmp219)), tmp220); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPC.cpp:1102:206: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (_P1_P_disMarksIn_P_vec_ && (!tmp217)), (tmp218 && (!tmp219)), tmp220); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.o] Error 1