Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) [: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.0.0/package.mo): time 2.163/2.163, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001603/0.001602, allocations: 177.2 kB / 360.3 MB, free: 7.539 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.646/1.646, allocations: 205.1 MB / 0.6187 GB, free: 13.3 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.001205/0.001204, allocations: 87.8 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2394/0.2406, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5435/0.7841, allocations: 115.2 MB / 0.9628 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2281/1.012, allocations: 153.1 MB / 1.112 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/1.013, allocations: 92.5 kB / 1.112 GB, free: 3.66 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.05386/1.067, allocations: 13.42 MB / 1.125 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.067, allocations: 16 kB / 1.125 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/1.068, allocations: 77.59 kB / 1.126 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/1.068, allocations: 246.6 kB / 1.126 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/1.068, allocations: 4 kB / 1.126 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/1.068, allocations: 11.94 kB / 1.126 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005854/1.069, allocations: 179.9 kB / 1.126 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006123/1.069, allocations: 280.2 kB / 1.126 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.07, allocations: 0 / 1.126 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/1.07, allocations: 3.906 kB / 1.126 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.893e-05/1.07, allocations: 23.98 kB / 1.126 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/1.072, allocations: 1.455 MB / 1.128 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005879/1.073, allocations: 229.1 kB / 1.128 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/1.073, allocations: 118.7 kB / 1.128 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/1.073, allocations: 0 / 1.128 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/1.073, allocations: 46.56 kB / 1.128 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.973e-06/1.073, allocations: 0 / 1.128 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0007283/1.074, allocations: 225.3 kB / 1.128 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/1.074, allocations: 77.11 kB / 1.128 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/1.074, allocations: 151.2 kB / 1.128 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/1.074, allocations: 25.7 kB / 1.128 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/1.074, allocations: 129.6 kB / 1.129 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.446e-05/1.075, allocations: 63.22 kB / 1.129 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/1.075, allocations: 0 / 1.129 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.075, allocations: 322.8 kB / 1.129 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/1.075, allocations: 87.97 kB / 1.129 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/1.075, allocations: 148.5 kB / 1.129 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/1.076, allocations: 115.8 kB / 1.129 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/1.076, allocations: 0 / 1.129 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000714/1.076, allocations: 276.5 kB / 1.13 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002916/1.077, allocations: 0.6991 MB / 1.13 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.077, allocations: 4 kB / 1.13 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/1.077, allocations: 4 kB / 1.13 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/1.077, allocations: 65.02 kB / 1.13 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.077, allocations: 4 kB / 1.13 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/1.078, allocations: 23.83 kB / 1.13 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/1.078, allocations: 11.98 kB / 1.13 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.078, allocations: 5.125 kB / 1.13 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000538/1.078, allocations: 199.7 kB / 1.131 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/1.078, allocations: 0 / 1.131 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.078, allocations: 7.984 kB / 1.131 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/1.079, allocations: 47.97 kB / 1.131 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/1.079, allocations: 4.156 kB / 1.131 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/1.079, allocations: 33.39 kB / 1.131 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/1.079, allocations: 8 kB / 1.131 GB, free: 472 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 23 * 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 0.0001271/1.079, allocations: 108.9 kB / 1.131 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.361e-05/1.079, allocations: 19.75 kB / 1.131 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000663/1.08, allocations: 242.9 kB / 1.131 GB, free: 88 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.08, allocations: 4 kB / 1.131 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.08, allocations: 4.844 kB / 1.131 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.08, allocations: 0 / 1.131 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/1.082, allocations: 0.6113 MB / 1.132 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.082, allocations: 4 kB / 1.132 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/1.082, allocations: 48.09 kB / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.934e-06/1.082, allocations: 0 / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/1.082, allocations: 4 kB / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/1.082, allocations: 1.312 kB / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/1.082, allocations: 6.5 kB / 1.132 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007033/1.083, allocations: 493.8 kB / 1.132 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008851/1.084, allocations: 0.8451 MB / 1.133 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/1.084, allocations: 120.8 kB / 1.133 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/1.084, allocations: 0 / 1.133 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/1.084, allocations: 15.98 kB / 1.133 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/1.085, allocations: 11.98 kB / 1.133 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/1.085, allocations: 12.94 kB / 1.133 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001479/1.085, allocations: 124.2 kB / 1.133 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002397/1.087, allocations: 95.67 kB / 1.133 GB, free: 13.52 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.000209/1.087, allocations: 103.2 kB / 1.133 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009107/1.088, allocations: 325 kB / 1.134 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.088, allocations: 4.062 kB / 1.134 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002798/1.089, allocations: 103.9 kB / 1.134 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/1.089, allocations: 40.88 kB / 1.134 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/1.09, allocations: 328.7 kB / 1.134 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005537/1.091, allocations: 0.7788 MB / 1.135 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of SimCode: time 1.313e-06/1.091, allocations: 0 / 1.135 GB, free: 11.78 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)