Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.343/1.343, allocations: 289.8 MB / 297.1 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008984/0.0008984, allocations: 177.3 kB / 366.3 MB, free: 1.969 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.046/1.046, allocations: 205.1 MB / 0.6256 GB, free: 7.441 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007719/0.0007719, allocations: 84.39 kB / 0.7395 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.484e-06, allocations: 4 kB / 0.859 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4436, allocations: 116.3 MB / 0.9726 GB, free: 76.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.5976, allocations: 157.3 MB / 1.126 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.5979, allocations: 92.44 kB / 1.126 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.02582/0.6237, allocations: 11.32 MB / 1.137 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.6238, allocations: 4 kB / 1.137 GB, free: 13.7 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005525/0.6243, allocations: 447.1 kB / 1.138 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.6244, allocations: 8.031 kB / 1.138 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005954/0.625, allocations: 71.58 kB / 1.138 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.6253, allocations: 230.7 kB / 1.138 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.6253, allocations: 4 kB / 1.138 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.6254, allocations: 15.98 kB / 1.138 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002777/0.6256, allocations: 160.3 kB / 1.138 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.626, allocations: 259.1 kB / 1.138 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.626, allocations: 6.312 kB / 1.138 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.626, allocations: 0 / 1.138 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.6261, allocations: 24.12 kB / 1.138 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.6278, allocations: 1.617 MB / 1.14 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.888e-05/0.6279, allocations: 73.12 kB / 1.14 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.416e-05/0.628, allocations: 46.77 kB / 1.14 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.628, allocations: 4 kB / 1.14 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.628, allocations: 38.55 kB / 1.14 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.628, allocations: 0 / 1.14 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004565/0.6285, allocations: 172.6 kB / 1.14 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.6285, allocations: 89.09 kB / 1.14 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.6287, allocations: 189.8 kB / 1.141 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.6287, allocations: 25.8 kB / 1.141 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.6289, allocations: 163.4 kB / 1.141 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.6289, allocations: 27.64 kB / 1.141 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.6289, allocations: 1.125 kB / 1.141 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.629, allocations: 322.8 kB / 1.141 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.6292, allocations: 71.97 kB / 1.141 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.6293, allocations: 163.1 kB / 1.141 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.6295, allocations: 115 kB / 1.141 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6296, allocations: 0 / 1.141 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004217/0.63, allocations: 269.5 kB / 1.142 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003474/0.6303, allocations: 1.126 MB / 1.143 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6304, allocations: 4 kB / 1.143 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.6304, allocations: 4 kB / 1.143 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.6306, allocations: 59.81 kB / 1.143 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.6306, allocations: 7.984 kB / 1.143 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.6308, allocations: 12.73 kB / 1.143 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.6309, allocations: 15.94 kB / 1.143 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.6309, allocations: 4 kB / 1.143 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003159/0.6312, allocations: 192 kB / 1.143 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6312, allocations: 4 kB / 1.143 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/0.6312, allocations: 7.984 kB / 1.143 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.6314, allocations: 50.61 kB / 1.143 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.6314, allocations: 7.938 kB / 1.143 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.6316, allocations: 17.02 kB / 1.143 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.6316, allocations: 8 kB / 1.143 GB, free: 7.164 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.681e-05/0.6317, allocations: 111.8 kB / 1.143 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.6318, allocations: 15.81 kB / 1.143 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.632, allocations: 122.7 kB / 1.143 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.632, allocations: 0 / 1.143 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.632, allocations: 0 / 1.143 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.632, allocations: 0 / 1.143 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006087/0.6326, allocations: 0.5897 MB / 1.144 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.6326, allocations: 4 kB / 1.144 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.6327, allocations: 12 kB / 1.144 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.6327, allocations: 4 kB / 1.144 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.6327, allocations: 5.875 kB / 1.144 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.6327, allocations: 7.984 kB / 1.144 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6327, allocations: 0 / 1.144 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002671/0.633, allocations: 343.7 kB / 1.144 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.6331, allocations: 100.9 kB / 1.144 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.6331, allocations: 5.062 kB / 1.145 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.6333, allocations: 11.92 kB / 1.145 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.6333, allocations: 8 kB / 1.145 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.6333, allocations: 4 kB / 1.145 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001226/0.6335, allocations: 167 kB / 1.145 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004381/0.6339, allocations: 79.92 kB / 1.145 GB, free: 5.418 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001344/0.634, allocations: 111.2 kB / 1.145 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003493/0.6344, allocations: 264.8 kB / 1.145 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6344, allocations: 0 / 1.145 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.017e-05/0.6345, allocations: 39.91 kB / 1.145 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.6347, allocations: 34.55 kB / 1.145 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005196/0.6352, allocations: 262 kB / 1.145 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.6356, allocations: 0.7677 MB / 1.146 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of SimCode: time 3.1e-07/0.6356, allocations: 0 / 1.146 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of Templates: time 0.005022/0.6406, allocations: 2.495 MB / 1.149 GB, free: 1.441 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)