Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPCfunction.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.TCtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPCfunction") translateModel(PNlib.Examples.ConTest.TCtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPCfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009468/0.0009468, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 185 kB / 16.92 MB, free: 6.895 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.318/1.318, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1895/0.1895, allocations: 16.74 MB / 308.8 MB, free: 15.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 8 kB / 374.1 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2533, allocations: 54.47 MB / 428.5 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPCfunction): time 0.001874/0.2552, allocations: 1.733 MB / 430.3 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003019/0.2582, allocations: 1.907 MB / 432.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.2585, allocations: 6.906 kB / 432.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.2588, allocations: 105.6 kB / 432.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.2591, allocations: 91.41 kB / 432.4 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.2604, allocations: 0.5977 MB / 433 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009837/0.2614, allocations: 1.13 MB / 434.1 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.2617, allocations: 141.5 kB / 434.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003877/0.2621, allocations: 422.2 kB / 434.7 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.2624, allocations: 297.6 kB / 435 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-05/0.2625, allocations: 27.31 kB / 435 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005664/0.263, allocations: 405.2 kB / 435.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.2632, allocations: 143.9 kB / 435.5 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.2634, allocations: 323.3 kB / 435.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006308/0.2641, allocations: 0.7511 MB / 436.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2641, allocations: 0 / 436.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2641, allocations: 0 / 436.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2641, allocations: 4 kB / 436.6 MB, free: 36.61 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001131/0.2653, allocations: 1.113 MB / 437.7 MB, free: 35.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2653, allocations: 14.12 kB / 437.7 MB, free: 35.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005879/0.2659, allocations: 133.8 kB / 437.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.2663, allocations: 408.8 kB / 438.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.2665, allocations: 142 kB / 438.4 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.2666, allocations: 71.8 kB / 438.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.268, allocations: 1.127 MB / 439.6 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.268, allocations: 7.094 kB / 439.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.666e-05/0.2681, allocations: 38.33 kB / 439.6 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-05/0.2682, allocations: 56.7 kB / 439.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.2694, allocations: 0.7776 MB / 440.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002738/0.2721, allocations: 2.824 MB / 443.3 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.2732, allocations: 1.103 MB / 444.4 MB, free: 31.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008225/0.2741, allocations: 0.9714 MB / 445.4 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.613e-05/0.2742, allocations: 13.09 kB / 445.4 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008163/0.275, allocations: 0.6836 MB / 446.1 MB, free: 30.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 2.635e-06/0.275, allocations: 3.938 kB / 446.1 MB, free: 30.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=68): time 0.003142/0.2781, allocations: 2.184 MB / 448.2 MB, free: 29.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001922/0.2783, allocations: 0.5251 MB / 448.8 MB, free: 29.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/0.2787, allocations: 367.9 kB / 449.1 MB, free: 29.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.474e-05/0.2788, allocations: 68.14 kB / 449.2 MB, free: 28.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.2789, allocations: 253.7 kB / 449.4 MB, free: 28.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.279, allocations: 179.4 kB / 449.6 MB, free: 28.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.2792, allocations: 124.6 kB / 449.7 MB, free: 28.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.2792, allocations: 367.7 kB / 450.1 MB, free: 28.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.2797, allocations: 333.1 kB / 450.4 MB, free: 28.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005751/0.2803, allocations: 0.6404 MB / 451.1 MB, free: 27.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.2817, allocations: 1.622 MB / 452.7 MB, free: 26.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.2817, allocations: 2.875 kB / 452.7 MB, free: 26.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001878/0.2836, allocations: 1.569 MB / 454.3 MB, free: 25.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.2837, allocations: 359.1 kB / 454.6 MB, free: 25.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009252/0.2847, allocations: 0.7296 MB / 455.3 MB, free: 24.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/0.2851, allocations: 88.03 kB / 455.4 MB, free: 24.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.2854, allocations: 108.2 kB / 455.5 MB, free: 24.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003344/0.2857, allocations: 0.6186 MB / 456.1 MB, free: 24.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.2861, allocations: 102.3 kB / 456.2 MB, free: 24.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.909e-05/0.2862, allocations: 58.8 kB / 456.3 MB, free: 24.12 MB / 350.1 MB Warning: Assuming fixed start value for the following 18 variables: 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 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 P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 101 ($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,$whenCondition3,$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.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition2,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedIn.vec[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 93 * 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.0007216/0.2869, allocations: 0.7034 MB / 457 MB, free: 23.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.2871, allocations: 62.66 kB / 457.1 MB, free: 23.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.2892, allocations: 1.696 MB / 458.8 MB, free: 22.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.2893, allocations: 3.125 kB / 458.8 MB, free: 22.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.2893, allocations: 3.156 kB / 458.8 MB, free: 22.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2893, allocations: 0 / 458.8 MB, free: 22.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/0.2925, allocations: 2.562 MB / 461.3 MB, free: 21.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002111/0.2946, allocations: 1.58 MB / 462.9 MB, free: 20.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.2948, allocations: 27.72 kB / 462.9 MB, free: 20.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002639/0.2951, allocations: 76.16 kB / 463 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.03e-05/0.2952, allocations: 36.34 kB / 463 MB, free: 20.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003208/0.2955, allocations: 0.6091 MB / 463.7 MB, free: 20.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2955, allocations: 1.156 kB / 463.7 MB, free: 20.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003651/0.2992, allocations: 2.61 MB / 466.3 MB, free: 18.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.2993, allocations: 133.4 kB / 466.4 MB, free: 18.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.2995, allocations: 71.84 kB / 466.5 MB, free: 18.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.2999, allocations: 58.05 kB / 466.5 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.3001, allocations: 68.42 kB / 466.6 MB, free: 18.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.683e-05/0.3001, allocations: 39.52 kB / 466.6 MB, free: 18.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.3004, allocations: 221.4 kB / 466.8 MB, free: 18.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3004, allocations: 0 / 466.8 MB, free: 18.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001052/0.3014, allocations: 295.8 kB / 467.1 MB, free: 18.6 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: 54 (P1.disMarksInOut,$whenCondition2,$whenCondition1,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.fireIn[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.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition3,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) * Number of discrete states: 50 (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,$whenCondition3,P1.fireIn[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,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],$whenCondition1,P1.enableIn.TEin[1],P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 17 * Array equations: 0 * 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.0007438/0.3022, allocations: 362.2 kB / 467.5 MB, free: 18.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.3044, allocations: 1.82 MB / 469.3 MB, free: 17.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3045, allocations: 5.219 kB / 469.3 MB, free: 17.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.3063, allocations: 2.312 MB / 471.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006048/0.3069, allocations: 84.91 kB / 471.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.3095, allocations: 1.606 MB / 473.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.3099, allocations: 0.9147 MB / 474.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.3101, allocations: 47.7 kB / 474.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3101, allocations: 0 / 474.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of Templates: time 0.02126/0.3314, allocations: 12.87 MB / 487.1 MB, free: 8.43 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.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.ConTest.TCtoPCfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop139.cpp:98:279: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp155, tmp156, _system->_P1_P_prelimSpeedIn_, tmp157, _system->_P1_P_enableIn_P_arcWeight_, tmp158, (_system->_P1_P_fireIn_ && (!tmp159)), (tmp160 && (!tmp161)), tmp162); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop139.cpp:98:302: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp155, tmp156, _system->_P1_P_prelimSpeedIn_, tmp157, _system->_P1_P_enableIn_P_arcWeight_, tmp158, (_system->_P1_P_fireIn_ && (!tmp159)), (tmp160 && (!tmp161)), tmp162); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop35.cpp:96:279: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp164, tmp165, _system->_P1_P_prelimSpeedIn_, tmp166, _system->_P1_P_enableIn_P_arcWeight_, tmp167, (_system->_P1_P_fireIn_ && (!tmp168)), (tmp169 && (!tmp170)), tmp171); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop35.cpp:96:302: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp164, tmp165, _system->_P1_P_prelimSpeedIn_, tmp166, _system->_P1_P_enableIn_P_arcWeight_, tmp167, (_system->_P1_P_fireIn_ && (!tmp168)), (tmp169 && (!tmp170)), tmp171); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionInitialize.cpp:243:73: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_functions->_OMC_LIT3,(!_functions->_OMC_LIT3),tmp1); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionInitialize.cpp:1989:73: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_functions->_OMC_LIT3,(!_functions->_OMC_LIT3),tmp43); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunction.cpp:1034:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp206,(!tmp207),tmp208); ^~~~~~~ 7 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.o] Error 1