Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.HybTest.TDtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPC") translateModel(PNlib.Examples.HybTest.TDtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 104.1 kB / 15.98 MB, free: 5.891 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.001467/0.001467, allocations: 187.5 kB / 16.9 MB, free: 5.746 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.375/1.375, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07584/0.07584, allocations: 16.73 MB / 307.5 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 61.45 kB / 371.8 MB, free: 48.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09783/0.09907, allocations: 53.47 MB / 425.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPC): time 0.002969/0.1021, allocations: 2.077 MB / 427.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.1046, allocations: 1.579 MB / 428.9 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.1049, allocations: 4 kB / 428.9 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.1052, allocations: 95.38 kB / 429 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.1056, allocations: 91.42 kB / 429.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.1067, allocations: 0.588 MB / 429.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008433/0.1076, allocations: 1.33 MB / 431 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.1078, allocations: 143.7 kB / 431.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.1081, allocations: 0.5063 MB / 431.6 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.1084, allocations: 318.4 kB / 431.9 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.1085, allocations: 72 kB / 432 MB, free: 6.094 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.1089, allocations: 419.4 kB / 432.4 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.1091, allocations: 155.5 kB / 432.6 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.1093, allocations: 350.3 kB / 432.9 MB, free: 5.188 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005959/0.1099, allocations: 0.7538 MB / 433.7 MB, free: 4.434 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1099, allocations: 0 / 433.7 MB, free: 4.434 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.11, allocations: 0 / 433.7 MB, free: 4.434 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.11, allocations: 0 / 433.7 MB, free: 4.434 MB / 302.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.001313/0.1113, allocations: 1.256 MB / 434.9 MB, free: 3.062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1113, allocations: 11.89 kB / 434.9 MB, free: 3.051 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005696/0.1119, allocations: 132.1 kB / 435.1 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.1123, allocations: 411 kB / 435.5 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.1124, allocations: 134.4 kB / 435.6 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.762e-05/0.1125, allocations: 67.98 kB / 435.7 MB, free: 2.262 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.114, allocations: 1.106 MB / 436.8 MB, free: 1.102 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.114, allocations: 4 kB / 436.8 MB, free: 1.098 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.367e-05/0.1141, allocations: 35.98 kB / 436.8 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.399e-05/0.1142, allocations: 56.95 kB / 436.9 MB, free: 1.008 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.1153, allocations: 0.7574 MB / 437.6 MB, free: 260 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/0.1186, allocations: 2.757 MB / 440.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.1199, allocations: 1.044 MB / 441.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009445/0.1208, allocations: 0.8979 MB / 442.3 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.1209, allocations: 89.34 kB / 442.4 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009815/0.1219, allocations: 0.6805 MB / 443.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=71): time 2.655e-06/0.1219, allocations: 0 / 443.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=71): time 0.002984/0.1249, allocations: 1.928 MB / 445 MB, free: 8.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000316/0.1253, allocations: 0.5829 MB / 445.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004464/0.1257, allocations: 380.1 kB / 446 MB, free: 7.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.832e-05/0.1258, allocations: 65.69 kB / 446 MB, free: 7.418 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.126, allocations: 260.3 kB / 446.3 MB, free: 7.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.1262, allocations: 181.8 kB / 446.5 MB, free: 6.977 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.1264, allocations: 206.5 kB / 446.7 MB, free: 6.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1266, allocations: 370.7 kB / 447 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005203/0.1271, allocations: 314.1 kB / 447.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007574/0.1279, allocations: 0.6691 MB / 448 MB, free: 5.266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002446/0.1303, allocations: 2.118 MB / 450.1 MB, free: 2.828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.1303, allocations: 0 / 450.1 MB, free: 2.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002048/0.1324, allocations: 1.52 MB / 451.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.1326, allocations: 350.7 kB / 452 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.1326, allocations: 19.92 kB / 452 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.1327, allocations: 16 kB / 452 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.133, allocations: 111.7 kB / 452.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-05/0.1331, allocations: 23.92 kB / 452.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.1335, allocations: 107 kB / 452.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.1336, allocations: 55.98 kB / 452.3 MB, free: 0.4961 MB / 318.1 MB Warning: Assuming fixed start value for the following 21 variables: P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 108 ($PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,$PRE.T1.firingTime,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireIn[1],$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008795/0.1345, allocations: 0.7257 MB / 453 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.1346, allocations: 71.44 kB / 453.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.1368, allocations: 1.435 MB / 454.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.1368, allocations: 4 kB / 454.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1368, allocations: 4 kB / 454.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1369, allocations: 7.984 kB / 454.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.14, allocations: 2.315 MB / 456.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.1401, allocations: 7.984 kB / 456.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.1402, allocations: 31.98 kB / 456.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/0.1402, allocations: 4 kB / 456.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.047e-05/0.1403, allocations: 35.92 kB / 457 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/0.1403, allocations: 11.92 kB / 457 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1403, allocations: 0 / 457 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003425/0.1438, allocations: 2.457 MB / 459.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.705e-05/0.1439, allocations: 132.4 kB / 459.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.144, allocations: 63.98 kB / 459.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.1444, allocations: 55.89 kB / 459.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/0.1446, allocations: 95.91 kB / 459.8 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.843e-05/0.1447, allocations: 43.98 kB / 459.8 MB, free: 8.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002166/0.1449, allocations: 223 kB / 460 MB, free: 8.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.145, allocations: 0 / 460 MB, free: 8.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001001/0.146, allocations: 283.7 kB / 460.3 MB, free: 8.219 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (P1.t_) * Number of discrete variables: 60 (P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition1,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.fireIn[1],T1.active,P1.disMarksInOut,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 48 (P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition2,P1.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarkChange,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007231/0.1467, allocations: 356 kB / 460.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002361/0.1491, allocations: 1.794 MB / 462.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1491, allocations: 0 / 462.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.151, allocations: 2.204 MB / 464.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.1515, allocations: 85.06 kB / 464.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.1542, allocations: 1.613 MB / 466.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.1546, allocations: 0.9033 MB / 467.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.1548, allocations: 43.42 kB / 467.3 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1548, allocations: 0 / 467.3 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of Templates: time 0.01475/0.1695, allocations: 10.39 MB / 477.7 MB, free: 6.504 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPC.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPC.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCInitialize.cpp:683:167: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, tmp30, (_P1_P_fireIn_ && (!tmp31)), (tmp32 && (!tmp33)), tmp34); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCInitialize.cpp:683:188: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, tmp30, (_P1_P_fireIn_ && (!tmp31)), (tmp32 && (!tmp33)), tmp34); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPC.cpp:722:80: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_TAein_,(!tmp165),tmp166); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPC.cpp:1103:183: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (_P1_P_disMarksIn_P_vec_ && (!tmp217)), (tmp218 && (!tmp219)), tmp220); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPC.cpp:1103:206: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (_P1_P_disMarksIn_P_vec_ && (!tmp217)), (tmp218 && (!tmp219)), tmp220); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.o] Error 1