Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",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.1-maint.8.0.x/package.mo): time 1.293/1.293, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009628/0.0009628, allocations: 181.2 kB / 361.1 MB, free: 7.078 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.013/1.013, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008171/0.0008172, allocations: 95.44 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1718/0.1727, allocations: 121.4 MB / 0.8512 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.5722, allocations: 115.3 MB / 0.9638 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.7291, allocations: 172.1 MB / 1.132 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.7293, allocations: 97.8 kB / 1.132 GB, free: 15.65 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.05333/0.7827, allocations: 24.42 MB / 1.156 GB, free: 7.121 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.7827, allocations: 12 kB / 1.156 GB, free: 7.109 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.7838, allocations: 139.4 kB / 1.156 GB, free: 6.973 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.7842, allocations: 327.2 kB / 1.156 GB, free: 6.609 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.7843, allocations: 12 kB / 1.156 GB, free: 6.598 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.7843, allocations: 20 kB / 1.156 GB, free: 6.578 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000585/0.7849, allocations: 401.5 kB / 1.157 GB, free: 6.184 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.7856, allocations: 0.561 MB / 1.157 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.7857, allocations: 4 kB / 1.157 GB, free: 5.566 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.7857, allocations: 0 / 1.157 GB, free: 5.566 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/0.7857, allocations: 28.64 kB / 1.157 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003102/0.7889, allocations: 3.449 MB / 1.161 GB, free: 1.797 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.7892, allocations: 313.2 kB / 1.161 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.7894, allocations: 173.7 kB / 1.161 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.7895, allocations: 7.984 kB / 1.161 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.7895, allocations: 37.88 kB / 1.161 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.7895, allocations: 0 / 1.161 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.001684/0.7912, allocations: 0.6369 MB / 1.162 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.7912, allocations: 77.11 kB / 1.162 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.7915, allocations: 267.2 kB / 1.162 GB, free: 244 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.7915, allocations: 25.7 kB / 1.162 GB, free: 212 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.7916, allocations: 248.5 kB / 1.162 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.7917, allocations: 90.73 kB / 1.162 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.7917, allocations: 0 / 1.162 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.7918, allocations: 350.7 kB / 1.163 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.7921, allocations: 167.2 kB / 1.163 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.7924, allocations: 332.5 kB / 1.163 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.7928, allocations: 243.8 kB / 1.163 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.7928, allocations: 4 kB / 1.163 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001641/0.7945, allocations: 0.7141 MB / 1.164 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005815/0.7951, allocations: 2.078 MB / 1.166 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.7951, allocations: 8 kB / 1.166 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.7962, allocations: 209.4 kB / 1.166 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.7966, allocations: 83.89 kB / 1.167 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.7977, allocations: 1.292 MB / 1.168 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.7981, allocations: 23.83 kB / 1.168 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.7981, allocations: 28.12 kB / 1.168 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/0.7981, allocations: 0 / 1.168 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007085/0.7988, allocations: 451.8 kB / 1.168 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.7989, allocations: 4 kB / 1.168 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.7989, allocations: 15.84 kB / 1.168 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.7993, allocations: 103.9 kB / 1.168 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.7993, allocations: 11.94 kB / 1.168 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.7995, allocations: 19.89 kB / 1.168 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.7996, allocations: 20 kB / 1.168 GB, free: 9.434 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.7997, allocations: 125.1 kB / 1.169 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/0.7998, allocations: 31.62 kB / 1.169 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.8014, allocations: 0.6275 MB / 1.169 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.8014, allocations: 4 kB / 1.169 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8015, allocations: 9.578 kB / 1.169 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.8015, allocations: 0 / 1.169 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007329/0.8022, allocations: 0.5901 MB / 1.17 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.8022, allocations: 4 kB / 1.17 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.8024, allocations: 49.23 kB / 1.17 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/0.8039, allocations: 365.4 kB / 1.17 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.8039, allocations: 0 / 1.17 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003214/0.8072, allocations: 3.221 MB / 1.173 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8072, allocations: 4 kB / 1.173 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001629/0.8088, allocations: 0.8295 MB / 1.174 GB, free: 3.242 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00172/0.8105, allocations: 1.202 MB / 1.175 GB, free: 1.988 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.8107, allocations: 140.6 kB / 1.175 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.8108, allocations: 4 kB / 1.175 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.8111, allocations: 21.84 kB / 1.175 GB, free: 1.809 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.8112, allocations: 31.75 kB / 1.175 GB, free: 1.777 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.8112, allocations: 8 kB / 1.175 GB, free: 1.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001738/0.8114, allocations: 203.1 kB / 1.176 GB, free: 1.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00191/0.8133, allocations: 182.5 kB / 1.176 GB, free: 1.395 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001582/0.8134, allocations: 111 kB / 1.176 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.8146, allocations: 0.7023 MB / 1.177 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8146, allocations: 0 / 1.177 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006588/0.8153, allocations: 435.7 kB / 1.177 GB, free: 132 kB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.8157, allocations: 55.19 kB / 1.177 GB, free: 80 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.8167, allocations: 0.5448 MB / 1.178 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.8172, allocations: 0.8888 MB / 1.179 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of SimCode: time 2.41e-07/0.8172, allocations: 0 / 1.179 GB, free: 14.59 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)