Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPCfunction.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.TDtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPCfunction") translateModel(PNlib.Examples.HybTest.TDtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPCfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009303/0.0009303, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2045/0.2045, allocations: 16.74 MB / 308.8 MB, free: 15.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003026, allocations: 12 kB / 374.1 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3438, allocations: 54.47 MB / 428.5 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.002691/0.3465, allocations: 1.711 MB / 430.3 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004059/0.3506, allocations: 1.763 MB / 432 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004393/0.3511, allocations: 6.938 kB / 432 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.3515, allocations: 102.6 kB / 432.1 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005037/0.352, allocations: 79.77 kB / 432.2 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.3538, allocations: 0.5674 MB / 432.8 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.3551, allocations: 1.062 MB / 433.8 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002956/0.3554, allocations: 138 kB / 434 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005605/0.356, allocations: 403.1 kB / 434.4 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004651/0.3564, allocations: 287.3 kB / 434.6 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.601e-05/0.3566, allocations: 33.41 kB / 434.7 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007149/0.3573, allocations: 358.5 kB / 435 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.3575, allocations: 137.7 kB / 435.2 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.3578, allocations: 317.8 kB / 435.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000871/0.3587, allocations: 0.7141 MB / 436.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.3587, allocations: 0 / 436.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3587, allocations: 0 / 436.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.3588, allocations: 0 / 436.2 MB, free: 36.86 MB / 350.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.001645/0.3604, allocations: 1.118 MB / 437.3 MB, free: 35.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.3605, allocations: 8.969 kB / 437.3 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008946/0.3614, allocations: 144.5 kB / 437.5 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/0.362, allocations: 407.5 kB / 437.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.3622, allocations: 141.5 kB / 438 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.3624, allocations: 76.17 kB / 438.1 MB, free: 35.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.3647, allocations: 1.112 MB / 439.2 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.3647, allocations: 3.156 kB / 439.2 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.3649, allocations: 30.88 kB / 439.2 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/0.365, allocations: 56.67 kB / 439.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.3669, allocations: 0.7721 MB / 440 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00421/0.3711, allocations: 2.788 MB / 442.8 MB, free: 32.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.3728, allocations: 1.127 MB / 444 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.3742, allocations: 0.9816 MB / 444.9 MB, free: 31.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.3744, allocations: 93.52 kB / 445 MB, free: 31.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/0.3758, allocations: 0.7222 MB / 445.7 MB, free: 30.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.055e-06/0.3758, allocations: 0 / 445.7 MB, free: 30.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.004285/0.3801, allocations: 2.031 MB / 447.8 MB, free: 30.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000286/0.3804, allocations: 0.579 MB / 448.4 MB, free: 29.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.3809, allocations: 369 kB / 448.7 MB, free: 29.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.316e-05/0.381, allocations: 56.2 kB / 448.8 MB, free: 29.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.3812, allocations: 259.3 kB / 449 MB, free: 28.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.3814, allocations: 186.1 kB / 449.2 MB, free: 28.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.3816, allocations: 125 kB / 449.3 MB, free: 28.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3817, allocations: 372.9 kB / 449.7 MB, free: 28.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007759/0.3825, allocations: 333.1 kB / 450 MB, free: 28.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009846/0.3835, allocations: 0.6627 MB / 450.7 MB, free: 27.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/0.3867, allocations: 2.136 MB / 452.8 MB, free: 26.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.054e-05/0.3867, allocations: 3.094 kB / 452.8 MB, free: 26.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002969/0.3897, allocations: 1.533 MB / 454.4 MB, free: 25.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.3899, allocations: 347.2 kB / 454.7 MB, free: 24.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.3899, allocations: 9.375 kB / 454.7 MB, free: 24.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.936e-05/0.39, allocations: 15.09 kB / 454.7 MB, free: 24.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005122/0.3905, allocations: 120 kB / 454.8 MB, free: 24.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.993e-05/0.3906, allocations: 19.09 kB / 454.9 MB, free: 24.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006689/0.3912, allocations: 110.7 kB / 455 MB, free: 24.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.3914, allocations: 49.62 kB / 455 MB, free: 24.84 MB / 350.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: 46 * 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 (116): * Single equations (assignments): 104 * 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.001044/0.3924, allocations: 0.719 MB / 455.7 MB, free: 24.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.3926, allocations: 65.72 kB / 455.8 MB, free: 24.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/0.3956, allocations: 1.511 MB / 457.3 MB, free: 23.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.3956, allocations: 7.094 kB / 457.3 MB, free: 23.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.3957, allocations: 0 / 457.3 MB, free: 23.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3957, allocations: 3.094 kB / 457.3 MB, free: 23.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/0.3997, allocations: 2.403 MB / 459.7 MB, free: 22.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/0.3997, allocations: 6.547 kB / 459.7 MB, free: 22.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.3999, allocations: 36.53 kB / 459.8 MB, free: 22.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.3999, allocations: 7.188 kB / 459.8 MB, free: 22.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.482e-05/0.4, allocations: 38.33 kB / 459.8 MB, free: 22.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.4, allocations: 3.094 kB / 459.8 MB, free: 22.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4, allocations: 3.938 kB / 459.8 MB, free: 22.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004317/0.4043, allocations: 2.554 MB / 462.4 MB, free: 21.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.4045, allocations: 128.9 kB / 462.5 MB, free: 21.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/0.4047, allocations: 66.81 kB / 462.6 MB, free: 21.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.4051, allocations: 58 kB / 462.6 MB, free: 21.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.4054, allocations: 89.56 kB / 462.7 MB, free: 20.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.4055, allocations: 46.41 kB / 462.7 MB, free: 20.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002641/0.4058, allocations: 220.1 kB / 463 MB, free: 20.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4058, allocations: 0 / 463 MB, free: 20.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001296/0.4071, allocations: 280.5 kB / 463.2 MB, free: 20.81 MB / 350.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.0009388/0.408, allocations: 343.6 kB / 463.6 MB, free: 20.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002854/0.4109, allocations: 1.788 MB / 465.4 MB, free: 19.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4109, allocations: 0.75 kB / 465.4 MB, free: 19.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002262/0.4132, allocations: 2.282 MB / 467.6 MB, free: 17.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.4139, allocations: 85.48 kB / 467.7 MB, free: 17.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.4173, allocations: 1.698 MB / 469.4 MB, free: 16.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.4178, allocations: 0.9014 MB / 470.3 MB, free: 16.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.418, allocations: 45.39 kB / 470.4 MB, free: 16.12 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.418, allocations: 0 / 470.4 MB, free: 16.12 MB / 350.1 MB Notification: Performance of Templates: time 0.023/0.441, allocations: 10.31 MB / 480.7 MB, free: 13.59 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.makefile clang++ -std=c++14 -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.TDtoPCfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionInitialize.cpp:681:189: 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, _P1_P_enableIn_P_arcWeight_, tmp29, (_P1_P_fireIn_ && (!tmp30)), (tmp31 && (!tmp32)), tmp33); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionInitialize.cpp:681:210: 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, _P1_P_enableIn_P_arcWeight_, tmp29, (_P1_P_fireIn_ && (!tmp30)), (tmp31 && (!tmp32)), tmp33); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunction.cpp:731:80: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_TAein_,(!tmp164),tmp165); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunction.cpp:1110:204: 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, tmp210, tmp211, tmp212, tmp213, _P1_P_enableIn_P_arcWeight_, tmp214, (_P1_P_disMarksIn_P_vec_ && (!tmp215)), (tmp216 && (!tmp217)), tmp218); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunction.cpp:1110:227: 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, tmp210, tmp211, tmp212, tmp213, _P1_P_enableIn_P_arcWeight_, tmp214, (_P1_P_disMarksIn_P_vec_ && (!tmp215)), (tmp216 && (!tmp217)), tmp218); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.o] Error 1