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.001753/0.001752, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.00222/0.00222, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.025/3.025, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1796/0.1796, allocations: 16.73 MB / 307.9 MB, free: 14.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 67.89 kB / 427 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1946, allocations: 53.47 MB / 480.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.005517/0.2002, allocations: 1.98 MB / 482.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005009/0.2053, allocations: 1.544 MB / 484 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00094/0.2063, allocations: 11.94 kB / 484 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007279/0.2071, allocations: 123 kB / 484.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009849/0.2081, allocations: 115.1 kB / 484.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002874/0.211, allocations: 0.6539 MB / 484.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006775/0.2178, allocations: 1.334 MB / 486.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005752/0.2184, allocations: 135.8 kB / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.2199, allocations: 0.5063 MB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009995/0.2209, allocations: 322.4 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003976/0.2213, allocations: 72 kB / 487.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.2229, allocations: 451.4 kB / 487.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004038/0.2233, allocations: 155.5 kB / 487.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007733/0.2241, allocations: 346.4 kB / 488.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.2266, allocations: 1.025 MB / 489.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.2267, allocations: 3.984 kB / 489.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.2267, allocations: 0 / 489.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.532e-05/0.2267, allocations: 0 / 489.2 MB, free: 12.18 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.008017/0.2348, allocations: 1.255 MB / 490.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.939e-05/0.2349, allocations: 11.89 kB / 490.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.2361, allocations: 136 kB / 490.6 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.2372, allocations: 410.8 kB / 491 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/0.2375, allocations: 142.4 kB / 491.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.2378, allocations: 71.98 kB / 491.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/0.2409, allocations: 1.106 MB / 492.3 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.2409, allocations: 4 kB / 492.3 MB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.2411, allocations: 32 kB / 492.4 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001906/0.2413, allocations: 52.95 kB / 492.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/0.2437, allocations: 0.7613 MB / 493.2 MB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005972/0.2497, allocations: 2.765 MB / 495.9 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.252, allocations: 1.125 MB / 497.1 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005805/0.2578, allocations: 0.968 MB / 498 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003117/0.261, allocations: 2.88 MB / 0.4892 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002014/0.263, allocations: 0.7056 MB / 0.4899 GB, free: 14.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 5.29e-06/0.2631, allocations: 0 / 0.4899 GB, free: 14.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=72): time 0.005066/0.2682, allocations: 2.024 MB / 0.4918 GB, free: 12.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004534/0.2687, allocations: 0.5749 MB / 0.4924 GB, free: 11.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007972/0.2695, allocations: 364.1 kB / 0.4927 GB, free: 11.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001857/0.2697, allocations: 65.69 kB / 0.4928 GB, free: 11.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.2701, allocations: 252.4 kB / 0.493 GB, free: 11.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000396/0.2705, allocations: 185.8 kB / 0.4932 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005455/0.2711, allocations: 198.5 kB / 0.4934 GB, free: 10.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.2713, allocations: 374.8 kB / 0.4938 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.2725, allocations: 326.1 kB / 0.4941 GB, free: 10.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.274, allocations: 0.6595 MB / 0.4947 GB, free: 9.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004243/0.2782, allocations: 2.113 MB / 0.4968 GB, free: 6.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.109e-05/0.2783, allocations: 7.938 kB / 0.4968 GB, free: 6.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004066/0.2824, allocations: 1.508 MB / 0.4983 GB, free: 5.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003694/0.2828, allocations: 358.5 kB / 0.4986 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001761/0.2846, allocations: 0.5754 MB / 0.4992 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.266e-05/0.2846, allocations: 19.98 kB / 0.4992 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008049/0.2855, allocations: 115.7 kB / 0.4993 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.618e-05/0.2855, allocations: 23.92 kB / 0.4993 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.2866, allocations: 107 kB / 0.4994 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/0.2869, allocations: 59.98 kB / 0.4995 GB, free: 4.008 MB / 382.1 MB Warning: Assuming fixed start value for the following 21 variables: P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 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 (117): * Single equations (assignments): 105 * 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.001909/0.2888, allocations: 0.7046 MB / 0.5002 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/0.2893, allocations: 63.44 kB / 0.5002 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/0.2935, allocations: 1.499 MB / 0.5017 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.2935, allocations: 7.984 kB / 0.5017 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.2935, allocations: 8 kB / 0.5017 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.2936, allocations: 3.984 kB / 0.5017 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4685/0.762, allocations: 2.381 MB / 0.504 GB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003598/0.7657, allocations: 1.407 MB / 0.5054 GB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.766, allocations: 35.95 kB / 0.5054 GB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/0.766, allocations: 2.188 kB / 0.5055 GB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.7662, allocations: 38.42 kB / 0.5055 GB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/0.7663, allocations: 2.703 kB / 0.5055 GB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.7663, allocations: 4.812 kB / 0.5055 GB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006858/0.7731, allocations: 2.543 MB / 0.508 GB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/0.7735, allocations: 124.7 kB / 0.5081 GB, free: 33.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003363/0.7738, allocations: 70.25 kB / 0.5082 GB, free: 33.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006925/0.7745, allocations: 58.45 kB / 0.5082 GB, free: 33.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003217/0.7749, allocations: 93.05 kB / 0.5083 GB, free: 33.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/0.775, allocations: 40.53 kB / 0.5083 GB, free: 33.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004333/0.7755, allocations: 216.9 kB / 0.5086 GB, free: 33.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.7755, allocations: 1.281 kB / 0.5086 GB, free: 33.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001852/0.7774, allocations: 287.7 kB / 0.5088 GB, free: 33.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (P1.t_) * Number of discrete variables: 60 (P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition1,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.fireIn[1],T1.active,P1.disMarksInOut,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 48 (P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition2,P1.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarkChange,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * 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.005594/0.783, allocations: 349.7 kB / 0.5092 GB, free: 33.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003997/0.787, allocations: 1.785 MB / 0.5109 GB, free: 32.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.787, allocations: 3.938 kB / 0.5109 GB, free: 32.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003315/0.7904, allocations: 2.279 MB / 0.5131 GB, free: 30.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.7916, allocations: 86.59 kB / 0.5132 GB, free: 30.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009282/0.8009, allocations: 1.505 MB / 0.5147 GB, free: 29.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009371/0.8019, allocations: 0.9101 MB / 0.5156 GB, free: 29.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/0.8022, allocations: 46.23 kB / 0.5156 GB, free: 29.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.8022, allocations: 0 / 0.5156 GB, free: 29.16 MB / 382.1 MB Notification: Performance of Templates: time 0.04465/0.8469, allocations: 10.49 MB / 0.5259 GB, free: 25.71 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.HybTest.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:730: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:1109: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:1109: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