Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.PCtoTCfunction.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.ConTest.PCtoTCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTCfunction") translateModel(PNlib.Examples.ConTest.PCtoTCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTCfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 103.2 kB / 16.27 MB, free: 6.414 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.001985/0.001985, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.326/1.326, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07523/0.07523, allocations: 16.73 MB / 307.8 MB, free: 14.31 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 61.83 kB / 372.3 MB, free: 48.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09196/0.09339, allocations: 53.47 MB / 425.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTCfunction): time 0.003092/0.09653, allocations: 1.997 MB / 427.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.09979, allocations: 1.68 MB / 429.4 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003609/0.1002, allocations: 11.94 kB / 429.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.1006, allocations: 131 kB / 429.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004283/0.101, allocations: 138.9 kB / 429.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.1023, allocations: 0.685 MB / 430.4 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009309/0.1033, allocations: 1.416 MB / 431.8 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.1035, allocations: 172.6 kB / 431.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003446/0.1039, allocations: 0.5337 MB / 432.5 MB, free: 5.734 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.1042, allocations: 366.2 kB / 432.8 MB, free: 5.375 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.1043, allocations: 92 kB / 432.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.1049, allocations: 479.4 kB / 433.4 MB, free: 4.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.105, allocations: 163.4 kB / 433.6 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.1053, allocations: 410.2 kB / 434 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008275/0.1061, allocations: 1.158 MB / 435.1 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1061, allocations: 0 / 435.1 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1061, allocations: 0 / 435.1 MB, free: 3.094 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.026e-06/0.1062, allocations: 0 / 435.1 MB, free: 3.094 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001324/0.1075, allocations: 1.329 MB / 436.4 MB, free: 1.648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1075, allocations: 11.89 kB / 436.5 MB, free: 1.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006172/0.1082, allocations: 148 kB / 436.6 MB, free: 1.492 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.1086, allocations: 439 kB / 437 MB, free: 1.023 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.1088, allocations: 146.5 kB / 437.2 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.1089, allocations: 80 kB / 437.3 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.1107, allocations: 1.338 MB / 438.6 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.1107, allocations: 7.938 kB / 438.6 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.512e-05/0.1108, allocations: 35.98 kB / 438.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.1109, allocations: 61.27 kB / 438.7 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.1125, allocations: 0.938 MB / 439.6 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00354/0.116, allocations: 2.964 MB / 442.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.1176, allocations: 1.259 MB / 443.9 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.1188, allocations: 1.131 MB / 445 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002134/0.1209, allocations: 2.96 MB / 447.9 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.1221, allocations: 0.8013 MB / 448.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=70): time 2.515e-06/0.1221, allocations: 0 / 448.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=70): time 0.003735/0.1258, allocations: 2.508 MB / 451.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003149/0.1262, allocations: 0.5559 MB / 451.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/0.1266, allocations: 396.1 kB / 452.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.254e-05/0.1267, allocations: 65.69 kB / 452.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.1269, allocations: 272 kB / 452.5 MB, free: 440 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.1271, allocations: 189.8 kB / 452.7 MB, free: 248 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/0.1274, allocations: 226.5 kB / 452.9 MB, free: 16 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1275, allocations: 362.8 kB / 453.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007098/0.1283, allocations: 478 kB / 453.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009459/0.1292, allocations: 0.8155 MB / 454.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.1311, allocations: 1.77 MB / 456.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.1312, allocations: 4 kB / 456.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00273/0.1339, allocations: 1.929 MB / 458.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002462/0.1342, allocations: 370.7 kB / 458.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001627/0.1358, allocations: 1.079 MB / 459.7 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003537/0.1362, allocations: 84.8 kB / 459.8 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.1365, allocations: 115.7 kB / 459.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004782/0.137, allocations: 0.6187 MB / 460.5 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/0.1375, allocations: 135 kB / 460.7 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.915e-05/0.1377, allocations: 59.98 kB / 460.7 MB, free: 7.586 MB / 334.1 MB Warning: Assuming fixed start value for the following 18 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 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 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.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],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition3,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,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.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.delayPassedOut.vec[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.fire_,T1.activation.NoTokens,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$PRE.P1.fireOut[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008862/0.1386, allocations: 0.7569 MB / 461.5 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.1388, allocations: 71.44 kB / 461.5 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/0.1417, allocations: 1.984 MB / 463.5 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.1417, allocations: 7.938 kB / 463.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1417, allocations: 0 / 463.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1417, allocations: 0 / 463.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/0.1452, allocations: 2.708 MB / 466.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002578/0.1478, allocations: 1.868 MB / 468.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.1479, allocations: 27.92 kB / 468.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002051/0.1481, allocations: 68.75 kB / 468.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.723e-05/0.1482, allocations: 39.97 kB / 468.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004275/0.1487, allocations: 0.607 MB / 468.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1487, allocations: 0 / 468.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004248/0.1529, allocations: 3.044 MB / 471.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1531, allocations: 128.5 kB / 472 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.1533, allocations: 79.92 kB / 472.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/0.1538, allocations: 75.86 kB / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004281/0.1542, allocations: 255.8 kB / 472.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.1543, allocations: 47.97 kB / 472.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.1546, allocations: 231 kB / 472.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1546, allocations: 4 kB / 472.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001164/0.1558, allocations: 331.6 kB / 473 MB, free: 10.87 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (P1.t_) * Number of discrete variables: 57 ($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,$cse2[1],$whenCondition3,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireOut[1],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.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.NoTokens,T1.fire_) * Number of discrete states: 51 (P1.disMarksInOut,P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.disMarksIn.numtrue,P1.disMarksOut.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.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 19 * Array equations: 1 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007446/0.1565, allocations: 372.8 kB / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002982/0.1595, allocations: 2.274 MB / 475.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1595, allocations: 0 / 475.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002273/0.1618, allocations: 2.513 MB / 478.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.1624, allocations: 85.73 kB / 478.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.165, allocations: 1.616 MB / 479.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.1655, allocations: 0.926 MB / 480.8 MB, free: 2.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.1657, allocations: 51.42 kB / 480.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1657, allocations: 4 kB / 480.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of Templates: time 0.01903/0.1847, allocations: 14.63 MB / 495.5 MB, free: 4.047 MB / 366.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTCfunction.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTCfunction.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.ConTest.PCtoTCfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop152.cpp:100:244: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp153, tmp154, tmp155, tmp156, tmp157, _system->_P1_P_enableOut_P_arcWeight_, (tmp158 && (!tmp159)), (_system->_P1_P_fireOut_ && (!tmp160)), tmp161); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop152.cpp:100:284: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp153, tmp154, tmp155, tmp156, tmp157, _system->_P1_P_enableOut_P_arcWeight_, (tmp158 && (!tmp159)), (_system->_P1_P_fireOut_ && (!tmp160)), tmp161); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop39.cpp:98:244: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp163, tmp164, tmp165, tmp166, tmp167, _system->_P1_P_enableOut_P_arcWeight_, (tmp168 && (!tmp169)), (_system->_P1_P_fireOut_ && (!tmp170)), tmp171); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop39.cpp:98:284: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp163, tmp164, tmp165, tmp166, tmp167, _system->_P1_P_enableOut_P_arcWeight_, (tmp168 && (!tmp169)), (_system->_P1_P_fireOut_ && (!tmp170)), tmp171); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionInitialize.cpp:644:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT4),tmp19); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunction.cpp:885:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp202),tmp203); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunction.cpp:1094:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT4),tmp241); ^~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.o] Error 1