Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPC.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.TCtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPC") translateModel(PNlib.Examples.ConTest.TCtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 98.88 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.001683/0.001683, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.343/1.343, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1964/0.1964, allocations: 16.74 MB / 308.8 MB, free: 15.63 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003265, allocations: 8 kB / 374.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3015, allocations: 54.46 MB / 428.5 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPC): time 0.002002/0.3035, allocations: 1.728 MB / 430.3 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003354/0.3069, allocations: 1.91 MB / 432.2 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003802/0.3073, allocations: 6.875 kB / 432.2 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.3076, allocations: 101.3 kB / 432.3 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.308, allocations: 96.66 kB / 432.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.3094, allocations: 0.596 MB / 433 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000934/0.3104, allocations: 1.127 MB / 434.1 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.3106, allocations: 136.6 kB / 434.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003724/0.311, allocations: 426.9 kB / 434.7 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.3113, allocations: 297.6 kB / 434.9 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.3114, allocations: 29.66 kB / 435 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005468/0.3119, allocations: 409.5 kB / 435.4 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.3121, allocations: 144.5 kB / 435.5 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.3123, allocations: 327.7 kB / 435.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006218/0.3129, allocations: 0.7417 MB / 436.6 MB, free: 36.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3129, allocations: 2.531 kB / 436.6 MB, free: 36.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3129, allocations: 0 / 436.6 MB, free: 36.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.313, allocations: 0 / 436.6 MB, free: 36.41 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.001181/0.3142, allocations: 1.119 MB / 437.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3142, allocations: 8.531 kB / 437.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006292/0.3148, allocations: 142 kB / 437.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.3153, allocations: 403.2 kB / 438.2 MB, free: 35.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.3154, allocations: 142.8 kB / 438.4 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.3155, allocations: 74.45 kB / 438.5 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.317, allocations: 1.13 MB / 439.6 MB, free: 34.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.3171, allocations: 7.422 kB / 439.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.3172, allocations: 30.25 kB / 439.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-05/0.3172, allocations: 54.14 kB / 439.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.3185, allocations: 0.7786 MB / 440.5 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00296/0.3214, allocations: 2.799 MB / 443.3 MB, free: 32.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.3225, allocations: 1.036 MB / 444.3 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008568/0.3234, allocations: 0.9127 MB / 445.2 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.235e-05/0.3234, allocations: 12.72 kB / 445.2 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007843/0.3242, allocations: 0.6588 MB / 445.9 MB, free: 30.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 1.934e-06/0.3243, allocations: 3.375 kB / 445.9 MB, free: 30.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=68): time 0.002998/0.3273, allocations: 2.108 MB / 448 MB, free: 29.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001961/0.3275, allocations: 0.5275 MB / 448.5 MB, free: 29.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.3278, allocations: 369.8 kB / 448.9 MB, free: 28.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/0.3279, allocations: 61.7 kB / 448.9 MB, free: 28.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.328, allocations: 257.8 kB / 449.2 MB, free: 28.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.3281, allocations: 182.5 kB / 449.4 MB, free: 28.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.3283, allocations: 125.6 kB / 449.5 MB, free: 28.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.3284, allocations: 371.6 kB / 449.8 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.3288, allocations: 332.1 kB / 450.2 MB, free: 28.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.3294, allocations: 0.6525 MB / 450.8 MB, free: 27.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.3308, allocations: 1.63 MB / 452.5 MB, free: 26.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.3308, allocations: 3.094 kB / 452.5 MB, free: 26.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001875/0.3327, allocations: 1.569 MB / 454 MB, free: 25.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.3329, allocations: 353.5 kB / 454.4 MB, free: 25.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009001/0.3338, allocations: 0.7157 MB / 455.1 MB, free: 24.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/0.3341, allocations: 87.59 kB / 455.2 MB, free: 24.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.3344, allocations: 108.6 kB / 455.3 MB, free: 24.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003198/0.3348, allocations: 0.6017 MB / 455.9 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.3352, allocations: 111.2 kB / 456 MB, free: 24.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/0.3353, allocations: 52.98 kB / 456 MB, free: 24.04 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: 44 * 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 (107): * Single equations (assignments): 95 * 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.0007113/0.336, allocations: 0.7088 MB / 456.7 MB, free: 23.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.3361, allocations: 71.44 kB / 456.8 MB, free: 23.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.3382, allocations: 1.629 MB / 458.4 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3382, allocations: 2.906 kB / 458.5 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3382, allocations: 0 / 458.5 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.3382, allocations: 3.422 kB / 458.5 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.3413, allocations: 2.505 MB / 461 MB, free: 21.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002208/0.3435, allocations: 1.539 MB / 462.5 MB, free: 20.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.3437, allocations: 23.91 kB / 462.5 MB, free: 20.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002423/0.3439, allocations: 68.52 kB / 462.6 MB, free: 20.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.609e-05/0.344, allocations: 38 kB / 462.6 MB, free: 20.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003148/0.3444, allocations: 0.6008 MB / 463.2 MB, free: 20.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3444, allocations: 1.219 kB / 463.2 MB, free: 20.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003595/0.348, allocations: 2.543 MB / 465.8 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3481, allocations: 129 kB / 465.9 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.3483, allocations: 72.33 kB / 466 MB, free: 18.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.3487, allocations: 57.83 kB / 466 MB, free: 18.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.3488, allocations: 67.31 kB / 466.1 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.723e-05/0.3489, allocations: 39.8 kB / 466.1 MB, free: 18.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.3491, allocations: 224.7 kB / 466.3 MB, free: 18.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3491, allocations: 0 / 466.3 MB, free: 18.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001044/0.3502, allocations: 299.2 kB / 466.6 MB, free: 18.62 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.0007123/0.3509, allocations: 366.7 kB / 467 MB, free: 18.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.353, allocations: 1.796 MB / 468.8 MB, free: 17.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.3531, allocations: 1.375 kB / 468.8 MB, free: 17.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.3548, allocations: 2.235 MB / 471 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.3554, allocations: 85.06 kB / 471.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.3577, allocations: 1.559 MB / 472.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.3581, allocations: 0.9086 MB / 473.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.3582, allocations: 57.16 kB / 473.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3582, allocations: 5.125 kB / 473.6 MB, free: 14 MB / 350.1 MB Notification: Performance of Templates: time 0.01823/0.3765, allocations: 12.87 MB / 486.5 MB, free: 9.062 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPC.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPC.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.TCtoPCCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop141.cpp:100:249: 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, tmp158, tmp159, (_system->_P1_P_fireIn_ && (!tmp160)), (tmp161 && (!tmp162)), tmp163); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop141.cpp:100:272: 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, tmp158, tmp159, (_system->_P1_P_fireIn_ && (!tmp160)), (tmp161 && (!tmp162)), tmp163); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop36.cpp:98:249: 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, tmp165, tmp166, _system->_P1_P_prelimSpeedIn_, tmp167, tmp168, tmp169, (_system->_P1_P_fireIn_ && (!tmp170)), (tmp171 && (!tmp172)), tmp173); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop36.cpp:98:272: 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, tmp165, tmp166, _system->_P1_P_prelimSpeedIn_, tmp167, tmp168, tmp169, (_system->_P1_P_fireIn_ && (!tmp170)), (tmp171 && (!tmp172)), tmp173); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCInitialize.cpp:252:73: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_functions->_OMC_LIT4,(!_functions->_OMC_LIT4),tmp1); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCInitialize.cpp:2016:73: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_functions->_OMC_LIT4,(!_functions->_OMC_LIT4),tmp43); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPC.cpp:1034:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp208,(!tmp209),tmp210); ^~~~~~~ 7 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.o] Error 1