Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.PCtoTDfunction.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.PCtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTDfunction") translateModel(PNlib.Examples.HybTest.PCtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009004/0.009004, allocations: 101.3 kB / 15.88 MB, free: 5.871 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.001983/0.001984, allocations: 193.2 kB / 16.79 MB, free: 5.816 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.43/1.43, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.173/0.173, allocations: 16.76 MB / 307.4 MB, free: 15.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 59.91 kB / 371.6 MB, free: 4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3013, allocations: 53.46 MB / 425.1 MB, free: 39.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTDfunction): time 0.002709/0.3041, allocations: 2.081 MB / 427.2 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.3067, allocations: 1.797 MB / 428.9 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.307, allocations: 6.531 kB / 429 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.3073, allocations: 96.11 kB / 429 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.3076, allocations: 89.2 kB / 429.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.3087, allocations: 0.5606 MB / 429.7 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007266/0.3094, allocations: 1.079 MB / 430.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.3097, allocations: 152.5 kB / 430.9 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.31, allocations: 422 kB / 431.3 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.3103, allocations: 328.5 kB / 431.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.485e-05/0.3104, allocations: 47.16 kB / 431.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005307/0.311, allocations: 374.9 kB / 432.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.3111, allocations: 146.9 kB / 432.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.3114, allocations: 342.8 kB / 432.5 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006084/0.312, allocations: 0.801 MB / 433.3 MB, free: 36.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.312, allocations: 0 / 433.3 MB, free: 36.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.312, allocations: 0 / 433.3 MB, free: 36.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.3121, allocations: 0 / 433.3 MB, free: 36.09 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001553/0.3136, allocations: 1.314 MB / 434.7 MB, free: 35.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.3137, allocations: 10.97 kB / 434.7 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006491/0.3143, allocations: 135 kB / 434.8 MB, free: 35.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.3149, allocations: 432.3 kB / 435.2 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.315, allocations: 146 kB / 435.4 MB, free: 34.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.3152, allocations: 75.38 kB / 435.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.317, allocations: 1.268 MB / 436.7 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.317, allocations: 2.906 kB / 436.7 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.3171, allocations: 37.11 kB / 436.8 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.572e-05/0.3172, allocations: 56.5 kB / 436.8 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.3187, allocations: 0.8902 MB / 437.7 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/0.322, allocations: 3.044 MB / 440.7 MB, free: 31.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.3233, allocations: 1.269 MB / 442 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008961/0.3242, allocations: 1.045 MB / 443.1 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.822e-05/0.3243, allocations: 101.2 kB / 443.2 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000954/0.3252, allocations: 0.7806 MB / 443.9 MB, free: 29.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.354e-06/0.3252, allocations: 0 / 443.9 MB, free: 29.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002997/0.3282, allocations: 2.256 MB / 446.2 MB, free: 28.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001968/0.3285, allocations: 0.5967 MB / 446.8 MB, free: 28.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.3289, allocations: 415 kB / 447.2 MB, free: 27.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.302e-05/0.3289, allocations: 57.17 kB / 447.2 MB, free: 27.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.3291, allocations: 282.8 kB / 447.5 MB, free: 27.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.3292, allocations: 193.5 kB / 447.7 MB, free: 27.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.3295, allocations: 227 kB / 447.9 MB, free: 27.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3296, allocations: 368.2 kB / 448.3 MB, free: 26.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/0.3302, allocations: 430.3 kB / 448.7 MB, free: 26.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007477/0.331, allocations: 0.8029 MB / 449.5 MB, free: 26.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002268/0.3333, allocations: 2.455 MB / 452 MB, free: 24.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.3333, allocations: 3.094 kB / 452 MB, free: 24.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002167/0.3355, allocations: 1.808 MB / 453.8 MB, free: 23.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.3356, allocations: 365 kB / 454.1 MB, free: 23.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/0.3356, allocations: 13.47 kB / 454.2 MB, free: 23.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.3357, allocations: 24.75 kB / 454.2 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.336, allocations: 127.2 kB / 454.3 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.3361, allocations: 26.27 kB / 454.3 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006448/0.3367, allocations: 129.9 kB / 454.5 MB, free: 23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-05/0.3368, allocations: 52.97 kB / 454.5 MB, free: 22.99 MB / 350.1 MB Warning: Assuming fixed start value for the following 21 variables: 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.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.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.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.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.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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.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: 53 * Number of states: 0 () * Number of discrete variables: 115 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],T1.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P1.feeding.numtrue,P1.feeding.anytrue,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.emptying.vec[1],P1.emptying.numtrue,P1.emptying.anytrue,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[1],T1.activation.arcWeightIntIn[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 114 * 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.0008547/0.3377, allocations: 0.7477 MB / 455.3 MB, free: 22.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.3379, allocations: 81.91 kB / 455.3 MB, free: 22.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.34, allocations: 1.662 MB / 457 MB, free: 21.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.3401, allocations: 10.25 kB / 457 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3401, allocations: 0 / 457 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.3401, allocations: 6.469 kB / 457 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/0.3434, allocations: 2.609 MB / 459.6 MB, free: 20.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.3435, allocations: 2.156 kB / 459.6 MB, free: 20.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.3436, allocations: 31.31 kB / 459.7 MB, free: 20.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.3436, allocations: 6.375 kB / 459.7 MB, free: 20.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.663e-05/0.3437, allocations: 42.34 kB / 459.7 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3437, allocations: 2.312 kB / 459.7 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3438, allocations: 1.5 kB / 459.7 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004015/0.3478, allocations: 2.804 MB / 462.5 MB, free: 19.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.3479, allocations: 129.6 kB / 462.6 MB, free: 18.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/0.3482, allocations: 71.94 kB / 462.7 MB, free: 18.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005016/0.3487, allocations: 60.17 kB / 462.8 MB, free: 18.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004811/0.3492, allocations: 309.6 kB / 463.1 MB, free: 18.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/0.3494, allocations: 56.64 kB / 463.1 MB, free: 18.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004191/0.3498, allocations: 241 kB / 463.4 MB, free: 18.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3498, allocations: 0 / 463.4 MB, free: 18.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001705/0.3515, allocations: 312.9 kB / 463.7 MB, free: 18.65 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.feeding.anytrue,P1.feeding.numtrue,$whenCondition1,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.disMarksInOut,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],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.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue) * Number of discrete states: 49 (P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksIn.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.disMarksOut.numtrue,P1.disMarkChange,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$whenCondition1,P1.feeding.numtrue,P1.feeding.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.001002/0.3525, allocations: 347.4 kB / 464 MB, free: 18.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003635/0.3562, allocations: 2.02 MB / 466 MB, free: 17.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.3562, allocations: 0 / 466 MB, free: 17.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002717/0.3589, allocations: 2.393 MB / 468.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009135/0.3599, allocations: 89.92 kB / 468.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.3638, allocations: 1.717 MB / 470.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.3644, allocations: 0.9178 MB / 471.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.3647, allocations: 48.83 kB / 471.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3647, allocations: 0 / 471.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Templates: time 0.02463/0.3893, allocations: 11.54 MB / 482.7 MB, free: 10.03 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction.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.PCtoTDfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionInitialize.cpp:764:182: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, _P1_P_enableOut_P_arcWeight_, (tmp30 && (!tmp31)), (_P1_P_fireOut_ && (!tmp32)), tmp33); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionInitialize.cpp:764:212: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, _P1_P_enableOut_P_arcWeight_, (tmp30 && (!tmp31)), (_P1_P_fireOut_ && (!tmp32)), tmp33); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunction.cpp:787:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp164),tmp165); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunction.cpp:1166:188: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp210, tmp211, tmp212, tmp213, tmp214, _P1_P_enableOut_P_arcWeight_, (tmp215 && (!tmp216)), (_P1_P_disMarksOut_P_vec_ && (!tmp217)), tmp218); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunction.cpp:1166:229: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp210, tmp211, tmp212, tmp213, tmp214, _P1_P_enableOut_P_arcWeight_, (tmp215 && (!tmp216)), (_P1_P_disMarksOut_P_vec_ && (!tmp217)), tmp218); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.o] Error 1