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.001458/0.001458, allocations: 100.1 kB / 15.88 MB, free: 12 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.001568/0.001568, allocations: 199.7 kB / 16.79 MB, free: 6.809 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.348/1.348, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.191/0.191, allocations: 16.78 MB / 307.4 MB, free: 15.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001412, allocations: 63.89 kB / 371.6 MB, free: 3.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3639, allocations: 53.44 MB / 425.1 MB, free: 39.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPC): time 0.002896/0.3668, allocations: 2.08 MB / 427.2 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.3695, allocations: 1.791 MB / 429 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.3697, allocations: 9.719 kB / 429 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.37, allocations: 96.94 kB / 429.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.3703, allocations: 84.3 kB / 429.1 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.3714, allocations: 0.5623 MB / 429.7 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006914/0.3721, allocations: 1.069 MB / 430.8 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.3723, allocations: 147 kB / 430.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.3726, allocations: 406 kB / 431.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.3729, allocations: 314 kB / 431.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.884e-05/0.373, allocations: 35.78 kB / 431.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/0.3735, allocations: 360.3 kB / 432 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.3736, allocations: 141.9 kB / 432.1 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.3739, allocations: 315.6 kB / 432.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005567/0.3745, allocations: 0.7321 MB / 433.2 MB, free: 36.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3745, allocations: 0 / 433.2 MB, free: 36.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.3745, allocations: 0 / 433.2 MB, free: 36.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.3745, allocations: 0 / 433.2 MB, free: 36.07 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.001365/0.3759, allocations: 1.248 MB / 434.4 MB, free: 35.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3759, allocations: 8.75 kB / 434.4 MB, free: 35.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006323/0.3765, allocations: 137.7 kB / 434.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.377, allocations: 411.3 kB / 435 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.3771, allocations: 143.2 kB / 435.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.3772, allocations: 70.08 kB / 435.2 MB, free: 34.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.3788, allocations: 1.112 MB / 436.3 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.3788, allocations: 0 / 436.3 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/0.3789, allocations: 34.03 kB / 436.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.432e-05/0.379, allocations: 49.67 kB / 436.4 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.3802, allocations: 0.7606 MB / 437.1 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.3831, allocations: 2.757 MB / 439.9 MB, free: 31.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.3842, allocations: 1.033 MB / 440.9 MB, free: 31.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008122/0.385, allocations: 0.904 MB / 441.8 MB, free: 30.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.997e-05/0.3851, allocations: 92.03 kB / 441.9 MB, free: 30.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008719/0.386, allocations: 0.672 MB / 442.6 MB, free: 30.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.274e-06/0.386, allocations: 0 / 442.6 MB, free: 30.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=71): time 0.002667/0.3887, allocations: 1.939 MB / 444.5 MB, free: 29.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/0.3889, allocations: 0.5776 MB / 445.1 MB, free: 28.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.3892, allocations: 381.8 kB / 445.5 MB, free: 28.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.3893, allocations: 60.14 kB / 445.5 MB, free: 28.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.3894, allocations: 265.2 kB / 445.8 MB, free: 28.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3895, allocations: 182.3 kB / 446 MB, free: 28.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.3898, allocations: 207.2 kB / 446.2 MB, free: 28.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.3899, allocations: 373.2 kB / 446.6 MB, free: 27.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.3904, allocations: 323.8 kB / 446.9 MB, free: 27.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/0.391, allocations: 0.6609 MB / 447.5 MB, free: 27.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.393, allocations: 2.116 MB / 449.6 MB, free: 25.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.393, allocations: 3.188 kB / 449.6 MB, free: 25.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.001802/0.3948, allocations: 1.521 MB / 451.2 MB, free: 24.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.395, allocations: 351.8 kB / 451.5 MB, free: 24.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.395, allocations: 13.56 kB / 451.5 MB, free: 24.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.395, allocations: 16.22 kB / 451.5 MB, free: 24.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.3954, allocations: 117.2 kB / 451.7 MB, free: 24.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.3954, allocations: 20.62 kB / 451.7 MB, free: 24.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.3958, allocations: 112.7 kB / 451.8 MB, free: 24.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/0.3959, allocations: 49.25 kB / 451.8 MB, free: 24.09 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: 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 (118): * Single equations (assignments): 106 * 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.0007019/0.3966, allocations: 0.7243 MB / 452.6 MB, free: 23.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.3967, allocations: 65.75 kB / 452.6 MB, free: 23.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.3987, allocations: 1.441 MB / 454.1 MB, free: 22.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.3987, allocations: 3.375 kB / 454.1 MB, free: 22.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3988, allocations: 3.125 kB / 454.1 MB, free: 22.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.3988, allocations: 3.141 kB / 454.1 MB, free: 22.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003366/0.4021, allocations: 2.322 MB / 456.4 MB, free: 21.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.4022, allocations: 2.938 kB / 456.4 MB, free: 21.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.4024, allocations: 35.23 kB / 456.4 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.4024, allocations: 3.031 kB / 456.4 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.4025, allocations: 36.16 kB / 456.5 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.4025, allocations: 7.438 kB / 456.5 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4025, allocations: 3.938 kB / 456.5 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003346/0.4058, allocations: 2.457 MB / 458.9 MB, free: 20.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-05/0.4059, allocations: 128.6 kB / 459.1 MB, free: 20.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.4062, allocations: 64.02 kB / 459.1 MB, free: 20.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.4066, allocations: 65.91 kB / 459.2 MB, free: 20.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.4069, allocations: 86.12 kB / 459.3 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-05/0.407, allocations: 47.06 kB / 459.3 MB, free: 20.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002427/0.4072, allocations: 223.8 kB / 459.5 MB, free: 20.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4072, allocations: 0 / 459.5 MB, free: 20.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001348/0.4086, allocations: 288.2 kB / 459.8 MB, free: 20.14 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 (34): * Single equations (assignments): 21 * 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.0007883/0.4094, allocations: 336.4 kB / 460.1 MB, free: 19.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002234/0.4116, allocations: 1.751 MB / 461.9 MB, free: 18.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4116, allocations: 1.156 kB / 461.9 MB, free: 18.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.4134, allocations: 2.201 MB / 464.1 MB, free: 17.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005872/0.414, allocations: 85.03 kB / 464.2 MB, free: 17.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.4167, allocations: 1.626 MB / 465.8 MB, free: 16.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.4171, allocations: 0.9056 MB / 466.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.4173, allocations: 40.92 kB / 466.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4173, allocations: 1.375 kB / 466.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of Templates: time 0.02088/0.4382, allocations: 10.37 MB / 477.1 MB, free: 13.39 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPC.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPC.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.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:722: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:1103: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:1103: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