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.006118/0.006118, allocations: 100.2 kB / 15.87 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.001722/0.001722, 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.335/1.335, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2281/0.2281, allocations: 16.77 MB / 307.4 MB, free: 15.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 371.6 MB, free: 3.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3581, allocations: 53.46 MB / 425.1 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.003733/0.3619, allocations: 2.076 MB / 427.2 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.3648, allocations: 1.798 MB / 429 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.3651, allocations: 0 / 429 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.3654, allocations: 100.8 kB / 429.1 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.3658, allocations: 83.62 kB / 429.1 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.3669, allocations: 0.5585 MB / 429.7 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000742/0.3676, allocations: 1.067 MB / 430.8 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.3679, allocations: 146.7 kB / 430.9 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003011/0.3682, allocations: 410.8 kB / 431.3 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.3685, allocations: 309.5 kB / 431.6 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.222e-05/0.3686, allocations: 34.41 kB / 431.6 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004961/0.3691, allocations: 367.7 kB / 432 MB, free: 36.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.3693, allocations: 150.7 kB / 432.2 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.3696, allocations: 307.8 kB / 432.5 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005927/0.3702, allocations: 0.7246 MB / 433.2 MB, free: 36.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3702, allocations: 0 / 433.2 MB, free: 36.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3702, allocations: 0 / 433.2 MB, free: 36.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3702, allocations: 0 / 433.2 MB, free: 36.15 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.001493/0.3717, allocations: 1.26 MB / 434.4 MB, free: 35.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3718, allocations: 12.03 kB / 434.4 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006099/0.3724, allocations: 129.2 kB / 434.6 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.3728, allocations: 413.8 kB / 435 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.373, allocations: 139.2 kB / 435.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3731, allocations: 75.66 kB / 435.2 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.3746, allocations: 1.105 MB / 436.3 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.3746, allocations: 3.938 kB / 436.3 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.3747, allocations: 32.14 kB / 436.3 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.628e-05/0.3748, allocations: 54.64 kB / 436.4 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.3761, allocations: 0.7634 MB / 437.1 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.379, allocations: 2.776 MB / 439.9 MB, free: 31.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.3802, allocations: 1.112 MB / 441 MB, free: 31.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008828/0.3811, allocations: 0.9825 MB / 442 MB, free: 30.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-05/0.3812, allocations: 88.98 kB / 442.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008908/0.3821, allocations: 0.7095 MB / 442.8 MB, free: 30.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.666e-06/0.3821, allocations: 3.984 kB / 442.8 MB, free: 30.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002664/0.3848, allocations: 2.014 MB / 444.8 MB, free: 29.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001891/0.385, allocations: 0.5827 MB / 445.4 MB, free: 28.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.3853, allocations: 365.9 kB / 445.8 MB, free: 28.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/0.3854, allocations: 68.06 kB / 445.8 MB, free: 28.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3855, allocations: 248.5 kB / 446.1 MB, free: 28.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.3856, allocations: 186.1 kB / 446.3 MB, free: 28.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.3859, allocations: 201.8 kB / 446.5 MB, free: 27.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.386, allocations: 370.9 kB / 446.8 MB, free: 27.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/0.3864, allocations: 327.6 kB / 447.1 MB, free: 27.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006336/0.3871, allocations: 0.6617 MB / 447.8 MB, free: 27.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.3891, allocations: 2.117 MB / 449.9 MB, free: 25.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.3891, allocations: 3.031 kB / 449.9 MB, free: 25.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001824/0.391, allocations: 1.518 MB / 451.4 MB, free: 24.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.3911, allocations: 344.5 kB / 451.8 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.3912, allocations: 13.41 kB / 451.8 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.3912, allocations: 13.41 kB / 451.8 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.3915, allocations: 115.2 kB / 451.9 MB, free: 24.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.658e-05/0.3915, allocations: 22.48 kB / 451.9 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.3919, allocations: 111.4 kB / 452 MB, free: 24.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.251e-05/0.392, allocations: 54 kB / 452.1 MB, free: 24.04 MB / 350.1 MB Warning: Assuming fixed start value for the following 21 variables: P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 108 ($PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,$PRE.T1.firingTime,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireIn[1],$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007457/0.3928, allocations: 0.7143 MB / 452.8 MB, free: 23.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.3929, allocations: 66.88 kB / 452.9 MB, free: 23.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.3949, allocations: 1.494 MB / 454.4 MB, free: 22.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3949, allocations: 6.125 kB / 454.4 MB, free: 22.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3949, allocations: 0 / 454.4 MB, free: 22.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3949, allocations: 3.328 kB / 454.4 MB, free: 22.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.3979, allocations: 2.398 MB / 456.8 MB, free: 21.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.3979, allocations: 3.125 kB / 456.8 MB, free: 21.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.398, allocations: 35.12 kB / 456.8 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.398, allocations: 6.938 kB / 456.8 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.917e-05/0.3981, allocations: 35.19 kB / 456.9 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3981, allocations: 3.281 kB / 456.9 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.3981, allocations: 11.02 kB / 456.9 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00364/0.4018, allocations: 2.528 MB / 459.4 MB, free: 20.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.78e-05/0.4019, allocations: 125.1 kB / 459.5 MB, free: 20.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.4021, allocations: 66.86 kB / 459.6 MB, free: 20.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.4025, allocations: 60.41 kB / 459.6 MB, free: 20.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/0.4028, allocations: 85.27 kB / 459.7 MB, free: 20.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.4029, allocations: 42.38 kB / 459.8 MB, free: 20.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002796/0.4032, allocations: 221.7 kB / 460 MB, free: 20.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.4032, allocations: 0 / 460 MB, free: 20.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001482/0.4047, allocations: 281.4 kB / 460.3 MB, free: 20.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (P1.t_) * Number of discrete variables: 60 (P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition1,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.fireIn[1],T1.active,P1.disMarksInOut,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 48 (P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition2,P1.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarkChange,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008823/0.4056, allocations: 361.1 kB / 460.6 MB, free: 19.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.408, allocations: 1.773 MB / 462.4 MB, free: 18.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.408, allocations: 0.9062 kB / 462.4 MB, free: 18.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.4099, allocations: 2.279 MB / 464.7 MB, free: 17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.4105, allocations: 85.98 kB / 464.7 MB, free: 16.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.4132, allocations: 1.68 MB / 466.4 MB, free: 16.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.4136, allocations: 0.9021 MB / 467.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.4137, allocations: 45.73 kB / 467.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4137, allocations: 0 / 467.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of Templates: time 0.02118/0.4349, allocations: 10.38 MB / 477.8 MB, free: 13.18 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionInitialize.cpp:681:189: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, _P1_P_enableIn_P_arcWeight_, tmp29, (_P1_P_fireIn_ && (!tmp30)), (tmp31 && (!tmp32)), tmp33); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionInitialize.cpp:681:210: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, _P1_P_enableIn_P_arcWeight_, tmp29, (_P1_P_fireIn_ && (!tmp30)), (tmp31 && (!tmp32)), tmp33); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunction.cpp:731:80: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_TAein_,(!tmp164),tmp165); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunction.cpp:1110:204: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp210, tmp211, tmp212, tmp213, _P1_P_enableIn_P_arcWeight_, tmp214, (_P1_P_disMarksIn_P_vec_ && (!tmp215)), (tmp216 && (!tmp217)), tmp218); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunction.cpp:1110:227: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp210, tmp211, tmp212, tmp213, _P1_P_enableIn_P_arcWeight_, tmp214, (_P1_P_disMarksIn_P_vec_ && (!tmp215)), (tmp216 && (!tmp217)), tmp218); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.o] Error 1