Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.364/1.364, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.0009236/0.0009236, allocations: 192.2 kB / 366.3 MB, free: 1.988 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.072/1.072, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0007757/0.0007758, allocations: 87.31 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1901/0.1909, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.6051, allocations: 116.3 MB / 0.9727 GB, free: 68.47 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.7536, allocations: 154.2 MB / 1.123 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.7539, allocations: 95.88 kB / 1.123 GB, free: 10.22 MB / 0.7292 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.02999/0.7839, allocations: 13.43 MB / 1.136 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.7839, allocations: 8 kB / 1.136 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006501/0.7846, allocations: 79.7 kB / 1.137 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.7849, allocations: 234.6 kB / 1.137 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.7849, allocations: 7.938 kB / 1.137 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.785, allocations: 12 kB / 1.137 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003149/0.7853, allocations: 183.9 kB / 1.137 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.7856, allocations: 271.2 kB / 1.137 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.7857, allocations: 0 / 1.137 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.7857, allocations: 7.906 kB / 1.137 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/0.7857, allocations: 27.98 kB / 1.137 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.7873, allocations: 1.451 MB / 1.139 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.7877, allocations: 229.1 kB / 1.139 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.7878, allocations: 117.7 kB / 1.139 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.7879, allocations: 7.984 kB / 1.139 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.7879, allocations: 34.56 kB / 1.139 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 3.627e-06/0.7879, allocations: 3.984 kB / 1.139 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0004039/0.7883, allocations: 228.3 kB / 1.139 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.7884, allocations: 89.08 kB / 1.139 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.7885, allocations: 148.1 kB / 1.139 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.7885, allocations: 25.7 kB / 1.14 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.7886, allocations: 132 kB / 1.14 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.7886, allocations: 55.2 kB / 1.14 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.7886, allocations: 0 / 1.14 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.173e-05/0.7887, allocations: 326.8 kB / 1.14 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.7889, allocations: 83.97 kB / 1.14 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.789, allocations: 157.2 kB / 1.14 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.7892, allocations: 111.9 kB / 1.14 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7892, allocations: 0 / 1.14 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003754/0.7896, allocations: 274.2 kB / 1.141 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002018/0.7898, allocations: 0.7076 MB / 1.141 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7898, allocations: 0 / 1.141 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.7898, allocations: 4 kB / 1.141 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.7901, allocations: 55.95 kB / 1.141 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.7902, allocations: 7.938 kB / 1.141 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.7904, allocations: 31.83 kB / 1.141 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.7904, allocations: 7.984 kB / 1.141 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/0.7904, allocations: 4 kB / 1.141 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002705/0.7907, allocations: 194 kB / 1.142 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7907, allocations: 5.875 kB / 1.142 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-06/0.7907, allocations: 224 / 1.142 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.7909, allocations: 63.91 kB / 1.142 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.791, allocations: 4 kB / 1.142 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.7911, allocations: 23.83 kB / 1.142 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.7911, allocations: 8 kB / 1.142 GB, free: 6.926 MB / 0.7448 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 8.558e-05/0.7912, allocations: 112.8 kB / 1.142 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.7913, allocations: 19.8 kB / 1.142 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.7917, allocations: 239 kB / 1.142 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.7917, allocations: 4 kB / 1.142 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7917, allocations: 0 / 1.142 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7917, allocations: 0 / 1.142 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008006/0.7925, allocations: 0.6191 MB / 1.143 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.7925, allocations: 0 / 1.143 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.7928, allocations: 43.97 kB / 1.143 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.7928, allocations: 4 kB / 1.143 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.7928, allocations: 0 / 1.143 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.7928, allocations: 7.938 kB / 1.143 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7928, allocations: 128 / 1.143 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003899/0.7932, allocations: 490.6 kB / 1.143 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004897/0.7937, allocations: 0.8494 MB / 1.144 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.7938, allocations: 116.8 kB / 1.144 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.7939, allocations: 4 kB / 1.144 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.7941, allocations: 19.98 kB / 1.144 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.7942, allocations: 7.984 kB / 1.144 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.7942, allocations: 11.94 kB / 1.144 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.212e-05/0.7943, allocations: 123.5 kB / 1.144 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001638/0.7959, allocations: 91.69 kB / 1.144 GB, free: 3.977 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.0001214/0.7961, allocations: 111.2 kB / 1.144 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004456/0.7965, allocations: 324.2 kB / 1.145 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7965, allocations: 0 / 1.145 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.7967, allocations: 107.9 kB / 1.145 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.797, allocations: 33.2 kB / 1.145 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.7976, allocations: 332.3 kB / 1.145 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003886/0.798, allocations: 0.7744 MB / 1.146 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/0.798, allocations: 8 kB / 1.146 GB, free: 2.227 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)