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.0007554/0.0007554, 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.0008404/0.0008405, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2279/0.2279, allocations: 16.74 MB / 308.8 MB, free: 15.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003375, allocations: 11.98 kB / 374.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2937, allocations: 54.46 MB / 428.5 MB, free: 38.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTDfunction): time 0.001929/0.2957, allocations: 1.704 MB / 430.3 MB, free: 38.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.2984, allocations: 1.774 MB / 432 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/0.2987, allocations: 6.906 kB / 432 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.2989, allocations: 102.2 kB / 432.1 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.2993, allocations: 82.34 kB / 432.2 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3003, allocations: 0.5587 MB / 432.8 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008204/0.3012, allocations: 1.078 MB / 433.8 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.3014, allocations: 162.7 kB / 434 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/0.3017, allocations: 398.3 kB / 434.4 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.302, allocations: 313.6 kB / 434.7 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-05/0.3021, allocations: 29.78 kB / 434.7 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/0.3026, allocations: 366.4 kB / 435.1 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.3027, allocations: 138 kB / 435.2 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.303, allocations: 354.3 kB / 435.6 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.3036, allocations: 0.7734 MB / 436.3 MB, free: 36.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3036, allocations: 0 / 436.3 MB, free: 36.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3036, allocations: 0 / 436.3 MB, free: 36.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3036, allocations: 0 / 436.3 MB, free: 36.97 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.001216/0.3048, allocations: 1.173 MB / 437.5 MB, free: 35.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3049, allocations: 8.062 kB / 437.5 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000573/0.3054, allocations: 142.1 kB / 437.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.3059, allocations: 435 kB / 438.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.306, allocations: 141.7 kB / 438.2 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.3061, allocations: 80.77 kB / 438.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.3078, allocations: 1.277 MB / 439.6 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.3078, allocations: 4 kB / 439.6 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.3079, allocations: 38.92 kB / 439.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.255e-05/0.308, allocations: 59.19 kB / 439.7 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.3094, allocations: 0.9014 MB / 440.6 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003075/0.3125, allocations: 3.034 MB / 443.6 MB, free: 32.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.3138, allocations: 1.284 MB / 444.9 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009423/0.3147, allocations: 1.05 MB / 446 MB, free: 31.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.509e-05/0.3148, allocations: 93.14 kB / 446 MB, free: 30.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009691/0.3158, allocations: 0.795 MB / 446.8 MB, free: 30.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.214e-06/0.3158, allocations: 3.938 kB / 446.8 MB, free: 30.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002982/0.3188, allocations: 2.269 MB / 449.1 MB, free: 29.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000203/0.319, allocations: 0.5965 MB / 449.7 MB, free: 28.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.3194, allocations: 408.5 kB / 450.1 MB, free: 28.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.438e-05/0.3195, allocations: 64.16 kB / 450.2 MB, free: 28.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.3196, allocations: 281.1 kB / 450.4 MB, free: 28.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.3198, allocations: 186.8 kB / 450.6 MB, free: 28.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.3199, allocations: 135.8 kB / 450.8 MB, free: 28.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.32, allocations: 371.3 kB / 451.1 MB, free: 27.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.3206, allocations: 432.7 kB / 451.5 MB, free: 27.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007634/0.3214, allocations: 0.8047 MB / 452.3 MB, free: 27.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.3238, allocations: 2.488 MB / 454.8 MB, free: 25.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.3238, allocations: 3.031 kB / 454.8 MB, free: 25.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002136/0.326, allocations: 1.812 MB / 456.7 MB, free: 24.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.3261, allocations: 367.1 kB / 457 MB, free: 24.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.3262, allocations: 13 kB / 457 MB, free: 24.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/0.3262, allocations: 21.97 kB / 457 MB, free: 24.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.3265, allocations: 131.3 kB / 457.2 MB, free: 24.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.517e-05/0.3266, allocations: 29.56 kB / 457.2 MB, free: 24.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/0.3271, allocations: 139.8 kB / 457.3 MB, free: 23.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.654e-05/0.3272, allocations: 55.44 kB / 457.4 MB, free: 23.96 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.000857/0.328, allocations: 0.7571 MB / 458.1 MB, free: 23.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.3282, allocations: 78.69 kB / 458.2 MB, free: 23.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.3303, allocations: 1.67 MB / 459.9 MB, free: 22.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.3304, allocations: 4.219 kB / 459.9 MB, free: 22.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3304, allocations: 1.25 kB / 459.9 MB, free: 22.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.3304, allocations: 4.359 kB / 459.9 MB, free: 22.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/0.3339, allocations: 2.623 MB / 462.5 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.3339, allocations: 1.562 kB / 462.5 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.3341, allocations: 34.23 kB / 462.6 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/0.3341, allocations: 2.344 kB / 462.6 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.26e-05/0.3342, allocations: 36.92 kB / 462.6 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.3342, allocations: 2.188 kB / 462.6 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3342, allocations: 1.156 kB / 462.6 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003917/0.3381, allocations: 2.832 MB / 465.4 MB, free: 20.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.3383, allocations: 142.1 kB / 465.6 MB, free: 19.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.3385, allocations: 71.78 kB / 465.6 MB, free: 19.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/0.339, allocations: 78.27 kB / 465.7 MB, free: 19.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005277/0.3395, allocations: 304.2 kB / 466 MB, free: 19.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.974e-05/0.3396, allocations: 51.45 kB / 466.1 MB, free: 19.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002661/0.3399, allocations: 242 kB / 466.3 MB, free: 19.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3399, allocations: 0 / 466.3 MB, free: 19.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001138/0.341, allocations: 307.8 kB / 466.6 MB, free: 19.61 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.0006924/0.3417, allocations: 338.4 kB / 466.9 MB, free: 19.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002563/0.3443, allocations: 2.031 MB / 469 MB, free: 18.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.3443, allocations: 5.406 kB / 469 MB, free: 18.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.3462, allocations: 2.389 MB / 471.4 MB, free: 16.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/0.3468, allocations: 94.08 kB / 471.5 MB, free: 16.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.3494, allocations: 1.719 MB / 473.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.3498, allocations: 0.9221 MB / 474.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.3499, allocations: 47.08 kB / 474.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3499, allocations: 1.125 kB / 474.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of Templates: time 0.01848/0.3684, allocations: 11.47 MB / 485.6 MB, free: 10.1 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