Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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 10.0.0-master/package.mo): time 1.815/1.815, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009116/0.0009116, allocations: 189.3 kB / 490.8 MB, free: 1.883 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.127/1.127, allocations: 221.3 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008156/0.0008156, allocations: 100.5 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4279/0.4288, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.6098, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.508/1.118, allocations: 175.2 MB / 1.383 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/1.118, allocations: 97.25 kB / 1.383 GB, free: 17.27 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.1111/1.229, allocations: 55.93 MB / 1.437 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/1.229, allocations: 8 kB / 1.437 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/1.231, allocations: 242.6 kB / 1.438 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009178/1.232, allocations: 0.5518 MB / 1.438 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/1.232, allocations: 20 kB / 1.438 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/1.232, allocations: 40 kB / 1.438 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001021/1.233, allocations: 0.6162 MB / 1.439 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/1.234, allocations: 1.036 MB / 1.44 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/1.234, allocations: 7.906 kB / 1.44 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.704e-05/1.234, allocations: 7.984 kB / 1.44 GB, free: 8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.938e-05/1.235, allocations: 61.22 kB / 1.44 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004821/1.239, allocations: 5.791 MB / 1.446 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007833/1.24, allocations: 0.5271 MB / 1.446 GB, free: 1.941 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/1.241, allocations: 320.9 kB / 1.446 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/1.241, allocations: 4.438 kB / 1.446 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/1.241, allocations: 38.5 kB / 1.446 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=47): time 1.763e-06/1.241, allocations: 0 / 1.446 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.001956/1.243, allocations: 1.192 MB / 1.448 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/1.243, allocations: 59.84 kB / 1.448 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003916/1.243, allocations: 398.1 kB / 1.448 GB, free: 380 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/1.243, allocations: 25.7 kB / 1.448 GB, free: 348 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/1.243, allocations: 353.8 kB / 1.448 GB, free: 28 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/1.243, allocations: 166.6 kB / 1.449 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/1.243, allocations: 0 / 1.449 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.243, allocations: 367.8 kB / 1.449 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/1.244, allocations: 260.3 kB / 1.449 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/1.244, allocations: 444.1 kB / 1.45 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/1.245, allocations: 331.1 kB / 1.45 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/1.245, allocations: 7.906 kB / 1.45 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001525/1.246, allocations: 0.984 MB / 1.451 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/1.246, allocations: 4 kB / 1.451 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.246, allocations: 4 kB / 1.451 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008271/1.247, allocations: 281.6 kB / 1.451 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/1.248, allocations: 111.4 kB / 1.451 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005199/1.253, allocations: 6.211 MB / 1.457 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/1.253, allocations: 20.08 kB / 1.457 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/1.253, allocations: 31.5 kB / 1.457 GB, free: 7.426 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/1.253, allocations: 124.8 kB / 1.458 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.254, allocations: 67.23 kB / 1.458 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/1.255, allocations: 0.8526 MB / 1.458 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.255, allocations: 4 kB / 1.458 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.255, allocations: 4 kB / 1.458 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.255, allocations: 3.984 kB / 1.458 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/1.257, allocations: 1.592 MB / 1.46 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/1.257, allocations: 4 kB / 1.46 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/1.257, allocations: 54.91 kB / 1.46 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007441/1.258, allocations: 269.7 kB / 1.46 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/1.258, allocations: 4 kB / 1.46 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00517/1.263, allocations: 6.182 MB / 1.466 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.263, allocations: 8.062 kB / 1.466 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00134/1.265, allocations: 1.014 MB / 1.467 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001449/1.266, allocations: 1.411 MB / 1.469 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/1.267, allocations: 183.6 kB / 1.469 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.224e-05/1.267, allocations: 11.91 kB / 1.469 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/1.267, allocations: 15.92 kB / 1.469 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/1.267, allocations: 31.66 kB / 1.469 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/1.267, allocations: 12 kB / 1.469 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0002814/1.267, allocations: 307.9 kB / 1.469 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001289/1.269, allocations: 192 kB / 1.469 GB, free: 12.07 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001514/1.269, allocations: 115.1 kB / 1.47 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001511/1.27, allocations: 1.155 MB / 1.471 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.27, allocations: 0 / 1.471 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/1.271, allocations: 0.8058 MB / 1.471 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000728/1.272, allocations: 153.7 kB / 1.472 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/1.274, allocations: 0.9933 MB / 1.473 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/1.275, allocations: 1.061 MB / 1.474 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of SimCode: time 2.5e-07/1.275, allocations: 0 / 1.474 GB, free: 8.133 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat