Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.291/2.291, allocations: 248.5 MB / 261 MB, free: 6.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 172.9 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.1 MB / 0.571 GB, free: 11.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001065, allocations: 97.78 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.739e-05/3.748e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1957, allocations: 106.2 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.212/7.408, allocations: 2.221 GB / 3.111 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003521/7.408, allocations: 100.5 kB / 3.112 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.411/8.82, allocations: 195 MB / 3.302 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.074e-06/8.82, allocations: 2.625 kB / 3.302 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0009763/8.821, allocations: 85.69 kB / 3.302 GB, free: 234.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 342 * Number of variables: 342 Notification: Performance of Generate backend data structure: time 0.04662/8.868, allocations: 3.98 MB / 3.306 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/8.868, allocations: 10.91 kB / 3.306 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009224/8.869, allocations: 197.2 kB / 3.306 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0366/8.905, allocations: 0.6011 MB / 3.307 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.317/10.22, allocations: 291.6 MB / 3.591 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/10.22, allocations: 122.8 kB / 3.592 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008128/10.22, allocations: 179.3 kB / 3.592 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005322/10.23, allocations: 1.735 MB / 3.593 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.534e-05/10.23, allocations: 3.844 kB / 3.593 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002671/10.23, allocations: 53.77 kB / 3.594 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.298e-05/10.23, allocations: 36.91 kB / 3.594 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00531/10.23, allocations: 1.787 MB / 3.595 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.819/11.05, allocations: 258.8 MB / 3.848 GB, free: 21.97 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003724/11.06, allocations: 1.421 MB / 3.849 GB, free: 20.57 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/11.06, allocations: 0.8006 MB / 3.85 GB, free: 19.77 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/11.06, allocations: 36.17 kB / 3.85 GB, free: 19.74 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002006/11.06, allocations: 0.9078 MB / 3.851 GB, free: 18.82 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=105): time 4.719e-06/11.06, allocations: 0 / 3.851 GB, free: 18.82 MB / 0.8698 GB Notification: Performance of matching and sorting (n=105): time 0.04099/11.1, allocations: 2.17 MB / 3.853 GB, free: 16.63 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003051/11.1, allocations: 398 kB / 3.854 GB, free: 16.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.913/13.02, allocations: 321 MB / 4.167 GB, free: 71.61 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0007644/13.02, allocations: 65.7 kB / 4.167 GB, free: 71.54 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004966/13.02, allocations: 2.167 MB / 4.169 GB, free: 69.66 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007047/13.02, allocations: 355.5 kB / 4.17 GB, free: 69.4 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003155/13.02, allocations: 36 kB / 4.17 GB, free: 69.36 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002436/13.02, allocations: 387 kB / 4.17 GB, free: 69 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003525/13.03, allocations: 1.27 MB / 4.171 GB, free: 67.83 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003946/13.03, allocations: 1.598 MB / 4.173 GB, free: 66.26 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005358/13.04, allocations: 1.602 MB / 4.174 GB, free: 64.85 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.23e-05/13.04, allocations: 4 kB / 4.174 GB, free: 64.84 MB / 0.9011 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.06318/13.1, allocations: 3.776 MB / 4.178 GB, free: 61.41 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004224/13.1, allocations: 170.9 kB / 4.178 GB, free: 61.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/13.1, allocations: 5.906 kB / 4.178 GB, free: 61.26 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/13.1, allocations: 100.3 kB / 4.178 GB, free: 61.19 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004042/13.1, allocations: 370.8 kB / 4.179 GB, free: 60.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003584/13.11, allocations: 1.533 MB / 4.18 GB, free: 59.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0466/13.15, allocations: 0.5613 MB / 4.181 GB, free: 58.84 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009723/13.16, allocations: 113.5 kB / 4.181 GB, free: 58.75 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008904/13.16, allocations: 357.2 kB / 4.181 GB, free: 58.44 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03542/13.19, allocations: 465.9 kB / 4.182 GB, free: 57.98 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00991/13.2, allocations: 2.844 MB / 4.184 GB, free: 55.52 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/13.2, allocations: 9.078 kB / 4.184 GB, free: 55.52 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/13.2, allocations: 4 kB / 4.184 GB, free: 55.51 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-05/13.2, allocations: 3.984 kB / 4.184 GB, free: 55.51 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.9994/14.2, allocations: 127 MB / 4.308 GB, free: 259.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/14.2, allocations: 6.312 kB / 4.308 GB, free: 259.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/14.2, allocations: 180.9 kB / 4.309 GB, free: 259.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008539/14.2, allocations: 84.73 kB / 4.309 GB, free: 259.1 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002794/14.2, allocations: 41.2 kB / 4.309 GB, free: 259.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/14.21, allocations: 1.541 MB / 4.31 GB, free: 257.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/14.21, allocations: 0 / 4.31 GB, free: 257.6 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04019/14.25, allocations: 2.588 MB / 4.313 GB, free: 256.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2204/14.47, allocations: 63.99 MB / 4.375 GB, free: 203.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04281/14.51, allocations: 44 kB / 4.375 GB, free: 203.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03353/14.54, allocations: 430.8 kB / 4.376 GB, free: 203.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005753/14.54, allocations: 82.02 kB / 4.376 GB, free: 203.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002858/14.55, allocations: 85.81 kB / 4.376 GB, free: 203.4 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.129/15.67, allocations: 238.6 MB / 4.609 GB, free: 250.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.305e-06/15.67, allocations: 0 / 4.609 GB, free: 250.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.07198/15.75, allocations: 16.34 MB / 4.625 GB, free: 250.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.05225/15.8, allocations: 4.796 MB / 4.629 GB, free: 249.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.008229/15.81, allocations: 3.833 MB / 4.633 GB, free: 249.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/15.81, allocations: 0 / 4.633 GB, free: 249.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003302/15.81, allocations: 1.679 MB / 4.635 GB, free: 249.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03137/15.84, allocations: 0.5503 MB / 4.635 GB, free: 249.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06174/15.9, allocations: 9.811 MB / 4.645 GB, free: 247.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007391/15.91, allocations: 3.039 MB / 4.648 GB, free: 247.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.07351/15.98, allocations: 32.75 MB / 4.68 GB, free: 240.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1116/16.1, allocations: 11.46 MB / 4.691 GB, free: 235.3 MB / 0.9011 GB Notification: Performance of SimCode: time 1.934e-06/16.1, allocations: 0 / 4.691 GB, free: 235.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.843/22.94, allocations: 1.544 GB / 6.235 GB, free: 46.98 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/22.94, allocations: 246.8 kB / 6.235 GB, free: 46.65 MB / 1.089 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.o] Error 1