Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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.41/1.41, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.0009777/0.0009777, allocations: 183.9 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.054/1.054, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0007721/0.0007721, allocations: 89.58 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1976/0.1984, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.6322, allocations: 116.3 MB / 0.9727 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.7928, allocations: 158.6 MB / 1.128 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.7931, allocations: 92.69 kB / 1.128 GB, free: 5.707 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.02672/0.8198, allocations: 12.2 MB / 1.14 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.8199, allocations: 8 kB / 1.14 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005702/0.8204, allocations: 71.64 kB / 1.14 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.8207, allocations: 222.8 kB / 1.14 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.8207, allocations: 8 kB / 1.14 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.8208, allocations: 11.94 kB / 1.14 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002619/0.821, allocations: 160.2 kB / 1.14 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.8214, allocations: 264.2 kB / 1.14 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.8214, allocations: 0 / 1.14 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.8214, allocations: 3.938 kB / 1.14 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.8214, allocations: 20.12 kB / 1.14 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.823, allocations: 1.62 MB / 1.142 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.223e-05/0.8231, allocations: 69.2 kB / 1.142 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.8232, allocations: 49.75 kB / 1.142 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.8232, allocations: 4 kB / 1.142 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.8232, allocations: 30.56 kB / 1.142 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.8232, allocations: 4 kB / 1.142 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003993/0.8236, allocations: 184.5 kB / 1.142 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.8237, allocations: 77.11 kB / 1.142 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.8239, allocations: 189.8 kB / 1.142 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.8239, allocations: 25.7 kB / 1.142 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.824, allocations: 167.4 kB / 1.143 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.824, allocations: 23.66 kB / 1.143 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.824, allocations: 0 / 1.143 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.8241, allocations: 326.9 kB / 1.143 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.8242, allocations: 71.97 kB / 1.143 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.8244, allocations: 158.8 kB / 1.143 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.8246, allocations: 115.6 kB / 1.143 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8246, allocations: 4 kB / 1.143 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004205/0.825, allocations: 265.1 kB / 1.144 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003856/0.8254, allocations: 1.134 MB / 1.145 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.8254, allocations: 4 kB / 1.145 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.8255, allocations: 4 kB / 1.145 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.8257, allocations: 59.81 kB / 1.145 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.8257, allocations: 4 kB / 1.145 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.8259, allocations: 11.98 kB / 1.145 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.826, allocations: 8 kB / 1.145 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/0.826, allocations: 8 kB / 1.145 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003388/0.8263, allocations: 199.6 kB / 1.145 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.8263, allocations: 4 kB / 1.145 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-06/0.8264, allocations: 4 kB / 1.145 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.8265, allocations: 48.28 kB / 1.145 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.8265, allocations: 8 kB / 1.145 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.8267, allocations: 11.91 kB / 1.145 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.8267, allocations: 15.98 kB / 1.145 GB, free: 3.332 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 6.879e-05/0.8268, allocations: 108.9 kB / 1.145 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.8269, allocations: 19.75 kB / 1.145 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.827, allocations: 114.7 kB / 1.145 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.8271, allocations: 4 kB / 1.145 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.8271, allocations: 128 / 1.145 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.8271, allocations: 8 kB / 1.145 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005968/0.8277, allocations: 0.5781 MB / 1.146 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.8277, allocations: 256 / 1.146 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.68e-05/0.8278, allocations: 27.92 kB / 1.146 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.8278, allocations: 0 / 1.146 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.8278, allocations: 7.906 kB / 1.146 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.8278, allocations: 4 kB / 1.146 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8278, allocations: 0 / 1.146 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002582/0.8281, allocations: 341.2 kB / 1.146 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003722/0.8285, allocations: 0.7098 MB / 1.147 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.98e-05/0.8286, allocations: 104.9 kB / 1.147 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.8286, allocations: 4 kB / 1.147 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.8287, allocations: 4 kB / 1.147 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.8288, allocations: 19.83 kB / 1.147 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.8288, allocations: 4 kB / 1.147 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001229/0.8289, allocations: 155.1 kB / 1.147 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00238/0.8313, allocations: 83.94 kB / 1.147 GB, free: 0.7891 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.0001343/0.8314, allocations: 127.1 kB / 1.147 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003557/0.8318, allocations: 259.7 kB / 1.148 GB, free: 412 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8318, allocations: 0 / 1.148 GB, free: 412 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.279e-05/0.8319, allocations: 41.42 kB / 1.148 GB, free: 372 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.8321, allocations: 34.25 kB / 1.148 GB, free: 340 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.8327, allocations: 269.1 kB / 1.148 GB, free: 28 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.8331, allocations: 0.7631 MB / 1.149 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of SimCode: time 2.6e-07/0.8331, allocations: 0 / 1.149 GB, free: 15.24 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)