Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.SideFins,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",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.176/2.176, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001556/0.001556, allocations: 183.8 kB / 325.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.323/2.323, allocations: 205.4 MB / 0.5764 GB, free: 21.2 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.00156/0.00156, allocations: 92.94 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006266/0.0006265, allocations: 13.91 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2027, allocations: 106.3 MB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.054/7.256, allocations: 2.195 GB / 3.094 GB, free: 246.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004219/7.257, allocations: 97.09 kB / 3.094 GB, free: 246.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2914/7.548, allocations: 76.75 MB / 3.169 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.224e-06/7.548, allocations: 0 / 3.169 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001143/7.548, allocations: 31.47 kB / 3.169 GB, free: 235.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.004018/7.552, allocations: 1.438 MB / 3.17 GB, free: 234 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/7.553, allocations: 7.812 kB / 3.17 GB, free: 234 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004193/7.553, allocations: 171.1 kB / 3.17 GB, free: 234 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01457/7.568, allocations: 1.335 MB / 3.172 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/7.57, allocations: 0.8153 MB / 3.172 GB, free: 233 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.012e-05/7.57, allocations: 86.95 kB / 3.172 GB, free: 233 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000325/7.571, allocations: 116.1 kB / 3.173 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008792/7.579, allocations: 2.044 MB / 3.175 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/7.579, allocations: 3.953 kB / 3.175 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/7.58, allocations: 47.53 kB / 3.175 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/7.58, allocations: 35.28 kB / 3.175 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/7.594, allocations: 2.92 MB / 3.177 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/7.608, allocations: 4.126 MB / 3.181 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0151/7.623, allocations: 2.828 MB / 3.184 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006743/7.624, allocations: 0.6084 MB / 3.185 GB, free: 228 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00659/7.63, allocations: 1.364 MB / 3.186 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=120): time 4.598e-06/7.63, allocations: 0 / 3.186 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=120): time 0.02086/7.651, allocations: 3.555 MB / 3.19 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/7.651, allocations: 251.7 kB / 3.19 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/7.653, allocations: 0.6789 MB / 3.191 GB, free: 226 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005098/7.653, allocations: 52.64 kB / 3.191 GB, free: 226 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004598/7.654, allocations: 448.6 kB / 3.191 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005647/7.654, allocations: 402.8 kB / 3.191 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/7.654, allocations: 18.31 kB / 3.191 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000104/7.655, allocations: 342.7 kB / 3.192 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005662/7.66, allocations: 1.019 MB / 3.193 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006122/7.666, allocations: 1.164 MB / 3.194 GB, free: 224.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005919/7.672, allocations: 1.013 MB / 3.195 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/7.672, allocations: 0 / 3.195 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01377/7.686, allocations: 2.383 MB / 3.197 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/7.686, allocations: 11.58 kB / 3.197 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/7.686, allocations: 0 / 3.197 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000985/7.687, allocations: 89.81 kB / 3.197 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004682/7.692, allocations: 458.5 kB / 3.198 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/7.695, allocations: 1.555 MB / 3.199 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00392/7.699, allocations: 316.7 kB / 3.2 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/7.699, allocations: 58.09 kB / 3.2 GB, free: 221.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * 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: 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.0009813/7.7, allocations: 312 kB / 3.2 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003604/7.7, allocations: 100.8 kB / 3.2 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/7.716, allocations: 2.842 MB / 3.203 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/7.716, allocations: 16 kB / 3.203 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/7.716, allocations: 0 / 3.203 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/7.716, allocations: 11.97 kB / 3.203 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01791/7.734, allocations: 4.407 MB / 3.207 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/7.734, allocations: 0 / 3.207 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004625/7.738, allocations: 464 kB / 3.208 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008767/7.739, allocations: 88.22 kB / 3.208 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000316/7.74, allocations: 47.56 kB / 3.208 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002533/7.742, allocations: 1.575 MB / 3.209 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/7.742, allocations: 3.094 kB / 3.209 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/7.756, allocations: 2.582 MB / 3.212 GB, free: 217 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/7.758, allocations: 431.9 kB / 3.212 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003718/7.758, allocations: 22.28 kB / 3.212 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003814/7.762, allocations: 281 kB / 3.212 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002784/7.762, allocations: 89.91 kB / 3.213 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/7.762, allocations: 57.28 kB / 3.213 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001154/7.764, allocations: 0.562 MB / 3.213 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.71e-07/7.764, allocations: 0 / 3.213 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002295/7.766, allocations: 0.4949 MB / 3.214 GB, free: 216.3 MB / 0.8855 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * 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.01619/7.782, allocations: 4.094 MB / 3.218 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01282/7.795, allocations: 2.441 MB / 3.22 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/7.795, allocations: 0 / 3.22 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006626/7.802, allocations: 1.362 MB / 3.221 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/7.804, allocations: 259.9 kB / 3.222 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03798/7.842, allocations: 9.762 MB / 3.231 GB, free: 201.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000747/7.843, allocations: 1.147 MB / 3.232 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003177/7.846, allocations: 468.2 kB / 3.233 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/7.847, allocations: 0.4914 MB / 3.233 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of SimCode: time 9.41e-07/7.847, allocations: 0 / 3.233 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09499/7.942, allocations: 37.89 MB / 3.27 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/7.943, allocations: 256.3 kB / 3.27 GB, free: 161.7 MB / 0.8855 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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_SideFins.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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_SideFins_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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_SideFins_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_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_SideFins_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.o] Error 1